foomatic-rip filter, all versions, used insecurely creates temporary files for storage of PostScript data by rendering the data when the debug mode was enabled. This flaw may be exploited by a local attacker to conduct symlink attacks by overwriting arbitrary files accessible with the privileges of the user running the foomatic-rip universal print filter.
https://security-tracker.debian.org/tracker/CVE-2011-2923
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2011-2923