# CVE-2022-38171

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-22 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2022-38171, ALPINE-CVE-2022-38171
- Record: https://cvemate.com/vulnerability/CVE-2022-38171 · JSON: https://cvemate.com/vulnerability/CVE-2022-38171/json

## Description

```text
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).
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.341%, percentile 29.517%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xpdf (Alpine Linux): \< 4.04-r0
- ubuntu ipe (Ubuntu): All versions (No fix recorded)
- ubuntu texlive-bin (Ubuntu): All versions (No fix recorded)
- ubuntu xpdf (Ubuntu): All versions (No fix recorded)
- freedesktop poppler: \< 22.09.0
- xpdfreader xpdf: 4.04

## References

- <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>
- <http://www.openwall.com/lists/oss-security/2022/09/02/11>
- <https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md>
- <https://ubuntu.com/security/CVE-2022-38171>
- <https://dl.xpdfreader.com/old/xpdf-4.04.tar.gz>
- <https://www.cve.org/CVERecord?id=CVE-2022-38171>
- <https://security.alpinelinux.org/vuln/CVE-2022-38171>

---

Data as of 2026-12-05T07:37:36.854Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
