CVE-2022-38171

Name
CVE-2022-38171
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).
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html
MISC https://github.com/jeffssh/CVE-2021-30860
CONFIRM https://dl.xpdfreader.com/old/xpdf-4.04.tar.gz
MISC https://www.cve.org/CVERecord?id=CVE-2021-30860
CONFIRM http://www.xpdfreader.com/security-fixes.html
CONFIRM https://dl.xpdfreader.com/xpdf-4.04.tar.gz
MISC https://gist.github.com/zmanion/b2ed0d1a0cec163ecd07d5e3d9740dc6
Mailing List http://www.openwall.com/lists/oss-security/2022/09/02/11
Patch https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:* xpdf == None == 4.04

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xpdf 3.16-community 4.04-r0 Dominika Liberda <ja@sdomi.pl> possibly vulnerable
xpdf 3.17-community 4.04-r0 Dominika Liberda <ja@sdomi.pl> possibly vulnerable
xpdf 3.18-community 4.04-r0 Dominika Liberda <ja@sdomi.pl> possibly vulnerable