There is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf…
Priority LOW 34CWE-416Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00472 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:* | 4.04 | Vulnerable | Xpdfreader |
- cpe:2.3:a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:* Versions 4.04 Vulnerable ·Xpdfreader
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-38222
- 2026-10-03 Alias added: GHSA-jh9w-w754-x3hr
References
More Xpdfreader Xpdf vulnerabilities
- TI-2021-11232 Integer overflow in Apple macOS KEVCVSS 3.1HIGH 7.8
- TI-2024-03046 Stack overflow in Xpdf 4.05 due to object loop in attachments CVSS 3.1MEDIUM 5.5
- TI-2024-03045 Stack overflow in Xpdf 4.05 due to object loop in PDF object stream CVSS 3.1MEDIUM 5.5
- TI-2023-02492 Stack overflow in Xpdf 4.04 due to object loop in PDF embedded file tree CVSS 3.1MEDIUM 5.5
- TI-2022-22500 Stack overflow vulnerability in function gmalloc in goo/gmem.cc in xpdf 4.04, allows… CVSS 3.1MEDIUM 5.5
- TI-2022-22499 Stack overflow vulnerability in function Dict::find in xpdf/Dict.cc in xpdf 4.04, allows… CVSS 3.1MEDIUM 5.5
Sources
- CVE-2022-38222 · CVE Program
- CVE-2022-38222 · NVD
- FIRST EPSS
- GHSA-jh9w-w754-x3hr · GitHub Advisory Database · CC BY 4.0
- CVE-2022-38222 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences