Integer Overflow or Wraparound Affecting poppler package, versions [,20.12.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.41% (74th 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-POPPLER-2372045
  • published26 Jan 2022
  • disclosed22 Jul 2019
  • creditUnknown

Introduced: 22 Jul 2019

CVE-2019-9959  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade poppler to version 20.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. The JPXStream::init function in Poppler 0.78.0 and earlier doesn't check for negative values of stream length, leading to an Integer Overflow, thereby making it possible to allocate a large memory chunk on the heap, with a size controlled by an attacker, as demonstrated by pdftocairo.

CVSS Scores

version 3.1