feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file.
http://www.vupen.com/english/advisories/2007/3974
http://www.securityfocus.com/bid/26507
http://security.gentoo.org/glsa/glsa-200711-32.xml
http://secunia.com/advisories/27739