CVE-2021-45944 Use after free in n/a

Medium 5.5 Published Updated

A use-after-free vulnerability in Ghostscript allows attackers to execute arbitrary code or cause a denial of service via crafted files.

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

What is CVE-2021-45944?

CVE-2021-45944 is a medium-severity use after free 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.53.3 has a use-after-free in sampled_data_sample (called from sampled_data_continue and interp).

Weakness: CWE-416

Which versions are affected by CVE-2021-45944?

It affects 2 products.

Products include Artifex Ghostscript, Debian Debian Linux.

How do I fix CVE-2021-45944?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-45944 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-45944, GHSA-9mw4-q4wg-7hwh, UBUNTU-CVE-2021-45944.

Is CVE-2021-45944 in your software?

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

Check your SBOMs for free