CVE-2022-38171 json
Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc).
published 2022-08-22 4 y ago modified 2026-07-18 3 mo ago also EUVD-2022-40767 , JLSEC-2026-80
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
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).
Patch / fix
- julia Poppler_jll 23.12.0+0
- freedesktop poppler 22.09.0
- xpdf Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 4.04-r0
alpine advisories ALPINE-CVE-2022-38171
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xpdf Arch Linux 4.04-1
arch linux advisories AVG-2813
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-38171 updated cvss 7.8
xpdf: integer overflow
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Poppler_jll | <23.12.0+0 |
23.12.0+0 |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md
patch, third-party-advisory, web
-
xpdfreader.com
/security-fixes.html
vendor-advisory, web
-
dl.xpdfreader.com
/xpdf-4.04.tar.gz
vendor-advisory, web
-
cve.org
/CVERecord?id=CVE-2021-30860
third-party-advisory, web
-
googleprojectzero.blogspot.com
/2021/12/a-deep-dive-into-nso-zero-click.html
third-party-advisory, web
-
github.com
/jeffssh/CVE-2021-30860
third-party-advisory, web
-
openwall.com
/lists/oss-security/2022/09/02/11
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2022-38171
- NVD CVE-2022-38171
- OSV JLSEC-2026-80
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.