CVE-2022-38171
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).
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ipe | Fix pending | UBUNTU-CVE-2022-38171 | |
| Ubuntu 26.10 | texlive-bin | Fix pending | UBUNTU-CVE-2022-38171 | |
| Ubuntu 26.04 | ipe | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 26.04 | texlive-bin | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 26.04 | xpdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ipe | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 25.10 | texlive-bin | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 25.10 | xpdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ipe | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 24.04 | texlive-bin | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 24.04 | xpdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ipe | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 22.04 | texlive-bin | Under investigation | UBUNTU-CVE-2022-38171 | |
| Ubuntu 22.04 | xpdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | ipe | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 20.04 | texlive-bin | Fix pending | UBUNTU-CVE-2022-38171 | |
| Ubuntu 18.04 | ipe | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 18.04 | texlive-bin | Fix pending | UBUNTU-CVE-2022-38171 | |
| Ubuntu 18.04 | xpdf | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 16.04 | ipe | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 16.04 | texlive-bin | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 16.04 | xpdf | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | UBUNTU-CVE-2022-38171 | |
| Ubuntu 14.04 | ipe | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | ||
| Ubuntu 14.04 | texlive-bin | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | ||
| Ubuntu 14.04 | xpdf | Will not fix This CVE is for xpdf, the poppler equivalent in CVE-2022-38784 xpdf in Debian/Ubuntu is actually xpopple that uses the poppler backend. Marking as not-affected. | ||
| Alpine Linux 3.24 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
| Alpine Linux 3.23 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
| Alpine Linux 3.22 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
| Alpine Linux 3.21 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
| Alpine Linux 3.20 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
| Alpine Linux 3.19 | xpdf | Fixed | 4.04-r0 | ALPINE-CVE-2022-38171 |
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.