CVE-2019-19911
Uncontrolled Resource Consumption in Pillow
Reported by mitre · Published January 5, 2020
Pillow is fixed in 6.2.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Pillow | PyPI | 6.2.2 |
| pillow | python | 6.2.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | py3-pillow | 0 |
| PyPI | Pillow | 0 |
Timeline
- Jan 5, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 8, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-19911
vulnetix vdb fixes CVE-2019-19911
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-19911/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- USN-4272-1 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2020-5cdbb19cca vendor-advisoryx_refsource_FEDORA
- DSA-4631 vendor-advisoryx_refsource_DEBIAN
- https://nvd.nist.gov/vuln/detail/CVE-2019-19911 advisory
- https://github.com/advisories/GHSA-5gm3-px64-rw72 advisory
- https://github.com/python-pillow/Pillow/commit/774e53bb132461d8d5ebefec1162e29ec0ebc63d patch
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-172.yaml advisory
- https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P url
- https://usn.ubuntu.com/4272-1 url