CVE-2021-45949 Memory corruption in n/a

Low 3.9 Published Updated

A heap-based buffer overflow in Ghostscript allows attackers to execute arbitrary code or cause denial of service via crafted files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45949?

CVE-2021-45949 is a low-severity memory corruption vulnerability in Artifex Ghostscript, published on 31 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-45949?

It affects 2 products.

Products include Artifex Ghostscript, Debian Debian Linux.

How do I fix CVE-2021-45949?

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-2021-45949 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-45949, GHSA-r647-qm87-j9pc, UBUNTU-CVE-2021-45949.

Is CVE-2021-45949 in your software?

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

Check your SBOMs for free