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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.27%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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
- CVSS 2.0
- 9.3 HIGHAV:N/AC:M/Au:N/C:C/I:C/A:C
- EPSS
- 4.27% probability · 91th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- artifex/gpl ghostscript
- Source
- cve@mitre.org
References
- http://bugs.ghostscript.com/show_bug.cgi?id=692856
- http://secunia.com/advisories/47855Vendor Advisory
- http://www.securityfocus.com/bid/52864
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74554
- http://bugs.ghostscript.com/show_bug.cgi?id=692856
- http://secunia.com/advisories/47855Vendor Advisory
- http://www.securityfocus.com/bid/52864
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74554
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.