vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.
distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000812
lists.grok.org.uk/pipermail/full-disclosure/2002-December/002948.html
marc.info/?l=bugtraq&m=108077992208690&w=2
sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55700
www.guninski.com/vim1.html
www.mandrakesoft.com/security/advisories?name=MDKSA-2003:012
www.redhat.com/support/errata/RHSA-2002-297.html
www.redhat.com/support/errata/RHSA-2002-302.html
www.securityfocus.com/bid/6384
exchange.xforce.ibmcloud.com/vulnerabilities/10835