pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS.
http://www.ubuntu.com/usn/usn-563-1
http://www.securityfocus.com/bid/26919
http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml
http://www.debian.org/security/2007/dsa-1437
http://www.cups.org/articles.php?L515
http://secunia.com/advisories/28386
http://secunia.com/advisories/28200
http://secunia.com/advisories/28139