The default configuration of the shell_escape_commands directive in conf/texmf.d/95NonPath.cnf in the tex-common package before 2.08.1 in Debian GNU/Linux squeeze, Ubuntu 10.10 and 10.04 LTS, and possibly other operating systems lists certain programs, which might allow remote attackers to execute arbitrary code via a crafted TeX document.
https://exchange.xforce.ibmcloud.com/vulnerabilities/66249
http://www.vupen.com/english/advisories/2011/0861
http://www.vupen.com/english/advisories/2011/0731
http://www.ubuntu.com/usn/USN-1103-1
http://www.securityfocus.com/bid/46986
http://www.debian.org/security/2011/dsa-2198
http://svn.debian.org/wsvn/debian-tex/tex-common/trunk/?op=log