What’s Vulnerable › Vulnerabilities
CVE-2020-10994
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-06-25 · updated 2026-06-17
- Weakness: CWE-125
Description
In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
Affected products
- Canonical Ubuntu Linux: 16.04, 18.04
- Fedoraproject Fedora: 31, 32
- python-pillow Pillow: before 7.1.0 — fixed in 7.1.0
How to fix
Upgrade to a fixed version: python-pillow Pillow 7.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging/
- https://github.com/python-pillow/Pillow/pull/4505
- https://github.com/python-pillow/Pillow/pull/4538
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- https://pillow.readthedocs.io/en/stable/releasenotes/
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- https://usn.ubuntu.com/4430-1/
- https://usn.ubuntu.com/4430-2/
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging/
- https://github.com/python-pillow/Pillow/pull/4505
- https://github.com/python-pillow/Pillow/pull/4538
Get alerted when CVE-2020-10994 or the next vulnerability affects your stack