CVE-2007-6358 in pdftops
Summary
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.
If you want to get best quality of vulnerability data, you may have to visit VulDB.