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
- CWE-190: Integer Overflow or Wraparound
Timeline
- 2020-01-05Published by the CNA21:57 UTC
- 2020-04-01GitHub advisory published (GHSA-5gm3-px64-rw72)87 days after publication
Exploit and advisory records
GitHub advisory GHSA-5gm3-px64-rw72, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pillow | before 6.2.2 | 6.2.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python pillow | before 6.2.2fixed in 6.2.2 | 6.2.2 |
| canonical ubuntu_linux | 14.04no fix listed16.04no fix listed18.04no fix listed19.10no fix listed | not listednot listednot listednot listed |
| debian debian_linux | 10.0no fix listed9.0no fix listed | not listednot listed |
| fedoraproject fedora | 30no fix listed | not listed |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- https://usn.ubuntu.com/4272-1/
- https://www.debian.org/security/2020/dsa-4631
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-19911'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-19911'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-19911'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-19911'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).