CVE-2022-38222
publishedxpdf: use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.19 | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.20 | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.21 | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.22 | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.23 | xpdf | Fixed | 4.05-r0 | Package fix record |
| Alpine Linux | v3.24 | xpdf | Fixed | 4.05-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
1Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f8315b13e7844829ded2a1b08a256bf7d151761563be99855e9f243b9d1c4753
- Ingested
- 23 Sep 2026, 08:01:45 UTC
- Source record
- Official CVE record