CVE-2024-46952 Memory corruption in n/a

High 8.4 Published Updated

A buffer overflow in Ghostscript's PDF XRef stream handling allows attackers to execute arbitrary code or cause denial of service via malicious PDFs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-46952?

CVE-2024-46952 is a high-severity memory corruption vulnerability in Artifex Ghostscript, published on 10 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).

Weakness: CWE-120

Which versions are affected by CVE-2024-46952?

It affects 2 products.

Products include Artifex Ghostscript, Debian Debian Linux.

How do I fix CVE-2024-46952?

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-46952 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2024-46952, BELL-CVE-2024-46952, DEBIAN-CVE-2024-46952, GHSA-mvm7-2x9x-6r3g, UBUNTU-CVE-2024-46952.

Is CVE-2024-46952 in your software?

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

Check your SBOMs for free