Description
Stack-based buffer overflow in the parser function in GhostScript 8.70 and 8.64 allows context-dependent attackers to execute arbitrary code via a crafted PostScript file.
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.71~dfsg-4 | — |
| Debian 13 | ghostscript | 8.71~dfsg-4 | — |
| Debian 12 | ghostscript | 8.71~dfsg-4 | — |
| Debian 5.0 | ghostscript | 8.62.dfsg.1-3.2lenny4 | DSA-2080-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Ghostscript - '.PostScript' File Stack Overflow EDB-14406 · local · Jul 18, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2080-1 ghostscript - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2010-1195 vdb-entry
- 39753 third-party-advisory
- ADV-2010-1138 vdb-entry
- MDVSA-2010:102 vendor-advisory
- USN-961-1 vendor-advisory
- 40103 vdb-entry
- 1024003 vdb-entry
- 40580 third-party-advisory
- http://www.checkpoint.com/defense/advisories/public/2010/cpai-10-May.html
- SUSE-SR:2010:014 vendor-advisory
- 20100512 Multiple memory corruption vulnerabilities in Ghostscript mailing-list