#VU73888 Integer overflow in xpdf


Published: 2023-03-21

Vulnerability identifier: #VU73888

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-38171

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
xpdf
Client/Desktop applications / Office applications

Vendor: Glyph & Cog

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the JBIG2 decoder in the JBIG2Stream::readTextRegionSeg() function in JBIG2Stream.cc. A remote attacker can pass a specially crafted PDF file or JBIG2 image to the application, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, the vulnerability is related to #VU56067 (CVE-2021-30860).

Mitigation
Install updates from vendor's website.

Vulnerable software versions

xpdf: 4.0.1 - 4.03


External links
http://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html
http://www.xpdfreader.com/security-fixes.html
http://www.openwall.com/lists/oss-security/2022/09/02/11
http://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability