CVE-2022-38171 Integer overflow in n/a

High 7.8 Published Updated

An integer overflow in the JBIG2 decoder allows attackers to execute arbitrary code or cause a crash 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-38171?

CVE-2022-38171 is a high-severity vulnerability in Freedesktop Poppler, published on 22 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

Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).

Weakness: CWE-190

Which versions are affected by CVE-2022-38171?

It affects 2 products.

Products include Freedesktop Poppler, Xpdfreader Xpdf.

How do I fix CVE-2022-38171?

Upgrade to a fixed version.

Is CVE-2022-38171 being exploited?

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

All Freedesktop Poppler vulnerabilities

Sources

Also known as GHSA-wxgh-95h6-c68v, JLSEC-2026-80, UBUNTU-CVE-2022-38171.

Is CVE-2022-38171 in your software?

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

Check your SBOMs for free