CVE-2012-4875

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

Published: 2012-09-06 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

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.

Exploit prediction scoring system (EPSS) score for CVE-2012-4875

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)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-4875

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.6 10.0 [email protected]

Weakness enumeration for CVE-2012-4875

OS Trackers for CVE-2012-4875

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

Affected software / configurations for CVE-2012-4875

Vendor Product Version Raw CPE
artifex gpl_ghostscript 9.04 cpe:2.3:a:artifex:gpl_ghostscript:9.04:*:*:*:*:*:*:*

References for CVE-2012-4875

cvelogic Threat Intelligence