CVE-2022-38171

high

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

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/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md

https://github.com/jeffssh/CVE-2021-30860

https://dl.xpdfreader.com/xpdf-4.04.tar.gz

http://www.xpdfreader.com/security-fixes.html

http://www.openwall.com/lists/oss-security/2022/09/02/11

Details

Source: Mitre, NVD

Published: 2022-08-22

Updated: 2022-10-27

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

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

Severity: High