# CVE-2019-19911: Uncontrolled Resource Consumption in Pillow

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.24%, higher than 83% of CVEs (2026-12-01)
- Published: 2020-01-05T21:57:24.000Z
- Modified: 2026-06-17T02:27:26.300Z
- Also known as: GHSA-5gm3-px64-rw72, PYSEC-2020-172
- Weaknesses: CWE-190
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pillow (PyPI): before 6.2.2
- python pillow: before 6.2.2
- debian debian_linux: 9.0; 10.0
- fedoraproject fedora: 30
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 19.10

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html> (release-notes, third-party-advisory, web)
- <https://usn.ubuntu.com/4272-1/> (third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/> (vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4631> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-19911> (advisory)
- <https://github.com/python-pillow/Pillow/commit/774e53bb132461d8d5ebefec1162e29ec0ebc63d> (web)
- <https://github.com/advisories/GHSA-5gm3-px64-rw72> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-172.yaml> (web)
- <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P> (web)
- <https://usn.ubuntu.com/4272-1> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/> (web)

## Sources

- CVE List: [CVE-2019-19911](https://www.cve.org/CVERecord?id=CVE-2019-19911), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-5gm3-px64-rw72](https://github.com/advisories/GHSA-5gm3-px64-rw72), CC-BY-4.0, modified 2024-10-08
- NVD: [CVE-2019-19911](https://nvd.nist.gov/vuln/detail/CVE-2019-19911), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-172](https://osv.dev/vulnerability/PYSEC-2020-172), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2019-19911 · Whole record: https://cve.day/CVE-2019-19911.json · Rebuilt by cve.day 2026-11-25T22:57:49.157Z
