Read the docs
TI-2012-04119 Aliases CVE-2012-4875GHSA-q65g-wrcw-38g4

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:artifex:gpl_ghostscript:9.04:*:*:*:*:*:*:*9.04VulnerableArtifex
  • cpe:2.3:a:artifex:gpl_ghostscript:9.04:*:*:*:*:*:*:* Versions 9.04 Vulnerable ·Artifex

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-4875
  2. 2026-10-03 Alias added: GHSA-q65g-wrcw-38g4

References

  • 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
See all 15 →

Sources