Integer Overflow or Wraparound Affecting xpdfreader package, versions [,4.04)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-XPDFREADER-9673750
  • published23 Aug 2022
  • disclosed23 Aug 2022
  • creditUnknown

Introduced: 23 Aug 2022

CVE-2022-38171  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade xpdfreader to version 4.04 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the JBIG2Stream::readSymbolDictSeg() function in JBIG2Stream.cc. An attacker can execute arbitrary code by passing in a malicious PDF.

CVSS Base Scores

version 3.1