CVE-2012-4875

high

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

https://exchange.xforce.ibmcloud.com/vulnerabilities/74554

http://www.securityfocus.com/bid/52864

http://secunia.com/advisories/47855

http://bugs.ghostscript.com/show_bug.cgi?id=692856

Details

Source: Mitre, NVD

Published: 2012-09-06

Updated: 2025-04-11

Risk Information

CVSS v2

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High