Vulnerability · Published Aug 22, 2022 · Assigned by mitre

CVE-2022-38171

High 7.8

In plain English

A high-severity security flaw in the xpdf package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 72.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xpdf4.04-r0ALPINE-CVE-2022-38171
Alpine:v3.21xpdf4.04-r0ALPINE-CVE-2022-38171
Alpine:v3.22xpdf4.04-r0ALPINE-CVE-2022-38171
Alpine:v3.23xpdf4.04-r0ALPINE-CVE-2022-38171
Alpine:v3.24xpdf4.04-r0ALPINE-CVE-2022-38171
Ubuntu:22.04:LTSipeno fix listedUBUNTU-CVE-2022-38171
Ubuntu:24.04:LTSipeno fix listedUBUNTU-CVE-2022-38171
Ubuntu:25.10ipeno fix listedUBUNTU-CVE-2022-38171
Ubuntu:26.04:LTSipeno fix listedUBUNTU-CVE-2022-38171
Ubuntu:26.10ipeno fix listedUBUNTU-CVE-2022-38171
Ubuntu:22.04:LTStexlive-binno fix listedUBUNTU-CVE-2022-38171
Ubuntu:24.04:LTStexlive-binno fix listedUBUNTU-CVE-2022-38171
Ubuntu:25.10texlive-binno fix listedUBUNTU-CVE-2022-38171
Ubuntu:26.04:LTStexlive-binno fix listedUBUNTU-CVE-2022-38171
Ubuntu:26.10texlive-binno fix listedUBUNTU-CVE-2022-38171

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References