Description
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).
References (7)
Core 7
Core References
Vendor Advisory
http://www.xpdfreader.com/security-fixes.html
Vendor Advisory
https://dl.xpdfreader.com/xpdf-4.04.tar.gz
Patch, Third Party Advisory
https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md
Third Party Advisory
https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html
Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2021-30860
Mailing List, Third Party Advisory mailing-list
http://www.openwall.com/lists/oss-security/2022/09/02/11
Scores
CVSS v3
7.8
EPSS
0.0012
EPSS Percentile
30.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
Status
published
Products (2)
freedesktop/poppler
< 22.09.0
xpdfreader/xpdf
4.04
Published
Aug 22, 2022
Tracked Since
Feb 18, 2026