CVE-2012-4875: Artifex Gpl Ghostscript

High severity, CVSS 9.3. EPSS: 4.3% probability of exploitation activity in the next 30 days.

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

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2012-09-06. Last modified 2026-06-16.