CVE-2012-4875

Ghostscript 9.04 - Heap-based Buffer Overflow via OutputFile Device Parameter

Title source: llm
STIX 2.1

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

References (4)

Core 4
Core References
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47855
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/74554
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/52864
Various Sources x_refsource_misc
http://bugs.ghostscript.com/show_bug.cgi?id=692856

Scores

EPSS 0.0932
EPSS Percentile 92.9%

Details

CWE
CWE-119
Status published
Products (1)
artifex/gpl_ghostscript 9.04
Published Sep 06, 2012
Tracked Since Feb 18, 2026