Heap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the…
Priority MEDIUM 47CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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
Why it matters now
EPSS 0.04273 91st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2012-4875
- 2026-10-03 Alias added: GHSA-q65g-wrcw-38g4
References
More Artifex Gpl Ghostscript vulnerabilities
- TI-2018-11841 An issue was discovered in Artifex Ghostscript before 9.24. CVSS 3.0HIGH 7.8
- TI-2018-12918 Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection… CVSS 3.0HIGH 8.6
- TI-2010-01788 Stack-based buffer overflow in the parser function in GhostScript 8.70 and 8.64 allows… CVSS 2.0HIGH 9.3
- TI-2009-04653 Buffer overflow in gs/psi/iscan.c in Ghostscript 8.64 and earlier allows remote attackers… CVSS 2.0HIGH 9.3
- TI-2009-03564 Off-by-one error in the Ins_MINDEX function in the TrueType bytecode interpreter in… CVSS 2.0HIGH 9.3
- TI-2010-01572 Ghostscript 8.64, 8.70, and possibly other versions allows context-dependent attackers to… CVSS 2.0HIGH 9.3
Sources
- CVE-2012-4875 · CVE Program
- CVE-2012-4875 · NVD
- FIRST EPSS
- GHSA-q65g-wrcw-38g4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences