CVE-2020-10994Python Pillow
Medium 5.5
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- Jun 25, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
What to do
- Apply the vendor's security update for Pillow.
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.0.0 |
7.0.0 |
pip install "pillow>=7.0.0" |
Per OSV / GitHub Advisories (GHSA-vj42-xq3r-hr3r, PYSEC-2020-79). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | < 7.1.0 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- pillow.readthedocs.io Release Notes
- pillow.readthedocs.io Product
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory