VDB
PYSEC-2020-172
PYSEC-2020-172
PUBLISHED
CVSS 8.699999809265137 HIGH
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.
Risk Scores
CVSS 4.0
8.699999809265137
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | pillow | 0, 1.0, 1.1 |
Timeline
- Jan 5, 2020 CVE Published
- Nov 8, 2023 CVE Updated
- May 1, 2026 Distribution Patch
- May 1, 2026 Security Advisory
References
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/ url
- https://github.com/advisories/GHSA-5gm3-px64-rw72 advisory
- https://usn.ubuntu.com/4272-1/ advisory
- https://www.debian.org/security/2020/dsa-4631 advisory