
CVE catalog
CVE-2012-4875
ghostscript: CVE-2012-4875
- Severity
- Low
- Source
- [NVD] · [CVE record]
- EPSS
- 4.27% · Oct 25, 2026
Heap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the OutputFile device parameter, allows user-assisted remote attackers to execute arbitrary code via a long file name in a PostScript document. NOTE: as of 20120314, the developer was not able to reproduce the issue and disputed it
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ghostscript | sid | 10.08.0~dfsg-2 | not affected |
| Debian | ghostscript | forky | 10.08.0~dfsg-2 | not affected |
| Debian | ghostscript | trixie | 10.05.1~dfsg-1+deb13u1 | not affected |
| Debian | ghostscript | trixie-security | 10.05.1~dfsg-1+deb13u3 | not affected |
| Debian | ghostscript | bookworm | 10.0.0~dfsg-11+deb12u8 | not affected |
| Debian | ghostscript | bookworm-security | 10.0.0~dfsg-11+deb12u8 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | ghostscript | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | ghostscript | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | ghostscript | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ghostscript]Unknown
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [ghostscript-x]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [libgs10]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [libgs9-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [libgs-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· all · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookwormNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityNot affected
dsa · ghostscript · debian · bookworm
Observed: