Vulnerability · Published Aug 15, 2022 · Assigned by mitre

CVE-2022-38222

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.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xpdf4.05-r0ALPINE-CVE-2022-38222
Alpine:v3.21xpdf4.05-r0ALPINE-CVE-2022-38222
Alpine:v3.22xpdf4.05-r0ALPINE-CVE-2022-38222
Alpine:v3.23xpdf4.05-r0ALPINE-CVE-2022-38222
Alpine:v3.24xpdf4.05-r0ALPINE-CVE-2022-38222
Ubuntu:22.04:LTSipeno fix listedUBUNTU-CVE-2022-38222
Ubuntu:24.04:LTSipeno fix listedUBUNTU-CVE-2022-38222
Ubuntu:25.10ipeno fix listedUBUNTU-CVE-2022-38222
Ubuntu:26.04:LTSipeno fix listedUBUNTU-CVE-2022-38222
Ubuntu:26.10ipeno fix listedUBUNTU-CVE-2022-38222

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References