CVE-2020-11538Python Pillow
High 8.1 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Jun 25, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pillow |
< 7.1.0 |
7.1.0 |
pip install "pillow>=7.1.0" |
| PyPI | pillow |
< 7.1.0 |
7.1.0 |
pip install "pillow>=7.1.0" |
Per OSV / GitHub Advisories (GHSA-43fq-w8qq-v88h, PYSEC-2020-80). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | ≤ 7.0.0 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 20.04 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- pillow.readthedocs.io Product
- pillow.readthedocs.io Release Notes
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory