Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder…
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-190 and the CVSS impact.
Summary
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).
Why it matters now
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 · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:* | 4.04 | Vulnerable | Xpdfreader |
| cpe:2.3:a:freedesktop:poppler:*:*:*:*:*:*:*:* | before 22.09.0 | Vulnerable | Freedesktop |
- cpe:2.3:a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:* Versions 4.04 Vulnerable ·Xpdfreader
- cpe:2.3:a:freedesktop:poppler:*:*:*:*:*:*:*:* Versions before 22.09.0 Vulnerable ·Freedesktop
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-38171
- 2026-10-03 Alias added: GHSA-wxgh-95h6-c68v
References
Advisory 6
- http://www.xpdfreader.com/security-fixes.html
- https://dl.xpdfreader.com/xpdf-4.04.tar.gz
- https://www.cve.org/CVERecord?id=CVE-2021-30860
- https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html
- https://github.com/jeffssh/CVE-2021-30860
- [oss-security] 20220902 JBIG2 integer overflow fixed in Xpdf 4.04, Poppler 22.09.0
Sources
- CVE-2022-38171 · CVE Program
- CVE-2022-38171 · NVD
- FIRST EPSS
- GHSA-wxgh-95h6-c68v · GitHub Advisory Database · CC BY 4.0
- CVE-2022-38171 · 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