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
Conclusion & alert: CVE-2012-4875 is rated Moderate Risk (63.6/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 4.27%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 9.32% | 4.27% | -5.05% |
| 2 | 2025-09-14 | 8.93% | 9.32% | +0.39% |
| 3 | 2025-03-19 | — | 8.93% | — |
Full EPSS history (8 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 2.0 | HIGH |
|
8.6 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2012-4875 unimportant priority: Debian including 1 source packages (ghostscript), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2012-4875 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| artifex | gpl_ghostscript | 9.04 | cpe:2.3:a:artifex:gpl_ghostscript:9.04:*:*:*:*:*:*:* |