CVE-2009-4270 Memory corruption in n/a

Critical 9.3 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via a crafted PDF file exploiting a stack-based buffer overflow in Ghostscript.

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
Available

What is CVE-2009-4270?

CVE-2009-4270 is a critical memory corruption vulnerability in n/a, published on 21 Dec 2009. 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

Stack-based buffer overflow in the errprintf function in base/gsmisc.c in ghostscript 8.64 through 8.70 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PDF file, as originally reported for debug logging code in gdevcups.c in the CUPS output driver.

Weakness: CWE-119

Which versions are affected by CVE-2009-4270?

It affects 1 product.

Products include Ghostscript Ghostscript.

How do I fix CVE-2009-4270?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2009-4270 being exploited?

There is no known exploitation of CVE-2009-4270 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2009-4270, GHSA-m27g-4vw6-6c82.

Is CVE-2009-4270 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free