CVE-2019-19911

Description

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
2.236%
chance of exploitation in the next 30 days
higher than 83.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2020-01-05Published by the CNA21:57 UTC
  2. 2020-04-01GitHub advisory published (GHSA-5gm3-px64-rw72)87 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-5gm3-px64-rw72, affected packages:

PackageVulnerable versionsFixed in
PyPI pillowbefore 6.2.26.2.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
python pillowbefore 6.2.2fixed in 6.2.26.2.2
canonical ubuntu_linux14.04no fix listed16.04no fix listed18.04no fix listed19.10no fix listednot listednot listednot listednot listed
debian debian_linux10.0no fix listed9.0no fix listednot listednot listed
fedoraproject fedora30no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources