Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.
https://bugzilla.redhat.com/show_bug.cgi?id=540760
http://www.vupen.com/english/advisories/2009/3597
http://www.ubuntu.com/usn/USN-961-1
http://www.openwall.com/lists/oss-security/2009/12/18/2
http://www.openwall.com/lists/oss-security/2009/12/18/1
http://www.mandriva.com/security/advisories?name=MDVSA-2010:135
http://www.mandriva.com/security/advisories?name=MDVSA-2010:134
http://security.gentoo.org/glsa/glsa-201412-17.xml
http://secunia.com/advisories/40580
http://secunia.com/advisories/37851
http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html