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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xpdf | 4.05-r0 | ALPINE-CVE-2022-38222 |
| Alpine:v3.21 | xpdf | 4.05-r0 | ALPINE-CVE-2022-38222 |
| Alpine:v3.22 | xpdf | 4.05-r0 | ALPINE-CVE-2022-38222 |
| Alpine:v3.23 | xpdf | 4.05-r0 | ALPINE-CVE-2022-38222 |
| Alpine:v3.24 | xpdf | 4.05-r0 | ALPINE-CVE-2022-38222 |
| Ubuntu:22.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-38222 |
| Ubuntu:24.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-38222 |
| Ubuntu:25.10 | ipe | no fix listed | UBUNTU-CVE-2022-38222 |
| Ubuntu:26.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-38222 |
| Ubuntu:26.10 | ipe | no fix listed | UBUNTU-CVE-2022-38222 |
Affected products (as reported)
References
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=42320 x_refsource_MISC