Live threats
VulnFox

All CVEs / Artifex

CVE-2012-4875Artifex Gpl Ghostscript

Critical 9.3 No auth needed

Priority
71
CVSS 2.0
9.3
EPSS
—
Auth required
No
Published
Sep 6, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Gpl Ghostscript.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
artifexgpl_ghostscript9.04

Official sources

References

Links published by the sources. Open them with care.