CVE-2012-4875 Memory corruption in n/a
Heap-based buffer overflow in Ghostscript allows remote code execution via a malicious PostScript document with a long filename.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-4875?
CVE-2012-4875 is a critical memory corruption vulnerability in n/a, published on 6 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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
Weakness: CWE-119
Which versions are affected by CVE-2012-4875?
It affects 1 product.
Products include Artifex Gpl Ghostscript.
How do I fix CVE-2012-4875?
No fix has been published for CVE-2012-4875 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-4875 being exploited?
There is no known exploitation of CVE-2012-4875 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-q65g-wrcw-38g4.