Integer overflow in Python Pillow
CVE-2019-19911
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Python Pillow
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 30
Weakness classification (CWE)
References
- pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html (Third Party Advisory, Release Notes)
- usn.ubuntu.com/4272-1/ (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2020/dsa-4631 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-19911?
- CVE-2019-19911 is a high-severity vulnerability in Python Pillow, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2020-01-05.
- How severe is CVE-2019-19911?
- High severity. CVSS v3 base score is 7.5 out of 10.