Integer Overflow in Xpdf JBIG2 Decoder (CVE-2021-30860)

Integer Overflow in Xpdf JBIG2 Decoder (CVE-2021-30860)

CVE-2022-38171 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

Learn more about our Web Application Penetration Testing UK.