Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ghostscript | 8.70~dfsg-2.1 | — |
| Debian 13 | ghostscript | 8.70~dfsg-2.1 | — |
| Debian 12 | ghostscript | 8.70~dfsg-2.1 | — |
| Debian 5.0 | ghostscript | 8.62.dfsg.1-3.2lenny4 | DSA-2080-1 |
Advisories 1
- DSA-2080-1 ghostscript - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-201412-17 vendor-advisory
- [oss-security] 20091218 Re: possible vulnerability in ghostscript >= 8.64 mailing-list
- MDVSA-2010:134 vendor-advisory
- [oss-security] 20091217 possible vulnerability in ghostscript >= 8.64 mailing-list
- USN-961-1 vendor-advisory
- MDVSA-2010:135 vendor-advisory
- ADV-2009-3597 vdb-entry
- 61140 vdb-entry
- 40580 third-party-advisory
- SUSE-SR:2010:014 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=540760
- 37851 third-party-advisory
- 37410 vdb-entry
- http://bugs.ghostscript.com/show_bug.cgi?id=690829