CVE-2024-29506 Memory corruption in n/a

Medium 5.4 Published Updated

A stack-based buffer overflow in Ghostscript allows attackers to execute arbitrary code or cause denial of service via a malicious PDF.

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-2024-29506?

CVE-2024-29506 is a medium-severity memory corruption vulnerability in Artifex Ghostscript, published on 3 Jul 2024. 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

Artifex Ghostscript before 10.03.0 has a stack-based buffer overflow in the pdfi_apply_filter() function via a long PDF filter name.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2024-29506?

It affects 1 product.

Products include Artifex Ghostscript.

How do I fix CVE-2024-29506?

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-2024-29506 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29506 exists.

All Artifex Ghostscript vulnerabilities

Sources

Also known as BELL-CVE-2024-29506, DEBIAN-CVE-2024-29506, GHSA-g5x6-xpv4-w4mm, UBUNTU-CVE-2024-29506.

Is CVE-2024-29506 in your software?

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

Check your SBOMs for free