First published: Mon Apr 18 2022(Updated: )
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).
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Xpdfreader Xpdf | =4.04 | |
freedesktop poppler | <22.09.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-38171 is a vulnerability in Xpdf prior to version 4.04 that contains an integer overflow in the JBIG2 decoder.
CVE-2022-38171 has a severity of 7.8 (high).
Xpdf versions prior to 4.04 and freedesktop poppler versions up to 22.09.0 are affected by CVE-2022-38171.
Processing a specially crafted PDF file or JBIG2 image can trigger the integer overflow in the JBIG2 decoder, leading to a crash or the execution of arbitrary code.
Yes, upgrading to Xpdf version 4.04 or later will fix the vulnerability. For freedesktop poppler, upgrading to a version above 22.09.0 is recommended.