CVE-2012-4875: Artifex Gpl Ghostscript

High severity, CVSS 9.3. EPSS: 4.3% chance of exploitation 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

Affected products

  • Artifex Gpl Ghostscript: version 9.04 only

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