Integer Overflow or Wraparound Affecting pillow package, versions <2.3.0-1ubuntu3.4+esm1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.46% (76th 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-UBUNTU1404-PILLOW-543770
  • published5 Jan 2020
  • disclosed5 Jan 2020

Introduced: 5 Jan 2020

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

How to fix?

Upgrade Ubuntu:14.04 pillow to version 2.3.0-1ubuntu3.4+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pillow package and not the pillow package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.

CVSS Scores

version 3.1