CVE-2019-19911
HIGH7.5EPSS 0.96%pillow - security update
Published: 4/1/2020Modified: 4/28/2026
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.
Affected packages (6)
- Alpine/py3-pillowfrom 0, < 6.2.2-r0
- Debian/pillowfrom 0, < 7.0.0-1
- Debian/pillowfrom 0, < 2.6.1-2+deb8u4
- Debian/pillowfrom 0, < 4.0.0-4+deb9u1
- PyPI/pillowfrom 0, < 6.2.2
- PyPI/pillowfrom 0, < 6.2.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (13)
- ADVISORYhttps://github.com/advisories/GHSA-5gm3-px64-rw72
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-19911
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2019-19911
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-19911
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-172.yaml
- WEBhttps://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02
- WEBhttps://github.com/python-pillow/Pillow/commit/774e53bb132461d8d5ebefec1162e29ec0ebc63d
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- WEBhttps://usn.ubuntu.com/4272-1
- WEBhttps://usn.ubuntu.com/4272-1/
- WEBhttps://www.debian.org/security/2020/dsa-4631