Back to CVE catalog
CVE-2012-4875

Heap-based buffer overflow in Ghostscript

artifex gpl ghostscript

At a glance

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

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

9.3High
Published:
Updated:
EPSS:
4.273%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:artifexgpl ghostscriptAffected versions:
9.04

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences