CVE-2022-38222 Use after free in n/a

High 7.8 Published Updated

A use-after-free vulnerability in Xpdf allows attackers to cause denial of service via crafted PDF 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-2022-38222?

CVE-2022-38222 is a high-severity use after free vulnerability in Xpdfreader Xpdf, published on 15 Aug 2022. 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

There is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf 4.04. It can be triggered by sending a crafted PDF file to (for example) the pdfimages binary. It allows an attacker to cause Denial of Service or possibly have unspecified other impact.

Weakness: CWE-416

Which versions are affected by CVE-2022-38222?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2022-38222?

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-2022-38222 being exploited?

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-jh9w-w754-x3hr, UBUNTU-CVE-2022-38222.

Is CVE-2022-38222 in your software?

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

Check your SBOMs for free