CVE-2020-10994 json
Out-of-bounds reads in Pillow
published 2020-06-25 6 y ago modified 2026-09-08 2 mo ago also BIT-pillow-2020-10994 , EUVD-2020-0132 , GHSA-vj42-xq3r-hr3r , PYSEC-2020-79
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
Patch / fix
- pypi pillow 7.0.0, 7.1.0
- bitnami pillow 7.1.0
- python pillow 7.1.0
- pillow Debian 14, Debian 13, Debian 12 7.2.0-1
debian advisories DEBIAN-CVE-2020-10994
- pillow Ubuntu 18.04 LTS 5.1.0-1ubuntu0.3
- pillow Ubuntu 20.04 LTS 7.0.0-4ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-10994
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- storm OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.2.3-3.6.1
- ansible OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 2.9.14-3.15.1
- grafana OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 6.7.4-4.12.1
- ardana-mq OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1593618123.678c32b-3.26.1
- ardana-nova OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1601298847.dd01585-3.42.1
- crowbar-core OpenStack Cloud Crowbar 8 5.0+git.1600432272.b3ad722f0-3.44.1
- python-kombu OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 4.1.0-3.7.1
- ardana-cinder OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1596129856.263f430-3.43.1
suse advisories SUSE-SU-2020:3309-1SUSE-SU-2020:2911-1SUSE-RU-2020:2161-1SUSE-SU-2020:2057-1
- github.com/python-pillow/Pillow@ff60894 commit
- github.com/python-pillow/Pillow#4538 pull request
- github.com/python-pillow/Pillow#4505 pull request
- github.com/python-pillow/Pillow/commits/master/src/libImaging/ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10994 updated cvss 5.3
python-pillow: multiple out-of-bounds reads via a crafted JP2 file
-
Red Hat Enterprise Linux 8 python-pillow, python3-pillow, python3-pillow-tkaffected: no fix available “Fix deferred”
-
Red Hat Quay v3 quay/quay-rhel8 v3.4.0-51, quay/clair-rhel8 v3.4.0-25, quay/quay-builder-rhel8 v3.4.0-18, quay/quay-operator-bundle v3.4.0-89, quay/quay-operator-rhel8 v3.4.0-132, quay/quay-bridge-operator-bundle v3.4.0-3, +5 morefixed: vendor fix RHSA-2021:0420
-
Red Hat Enterprise Linux 5 python-imaging Red Hat Enterprise Linux 6 python-imaging, python-imaging-tk, python-imaging-sane Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sanenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pillow | <7.1.0 <7.0.0 |
7.1.0 7.0.0 |
| bitnami | pillow | <7.1.0 |
7.1.0 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/python-pillow/Pillow/pull/4538
web, issue-tracking, patch
-
github.com
/python-pillow/Pillow/pull/4505
web, issue-tracking, patch
-
github.com
/python-pillow/Pillow/commits/master/src/libImaging/
patch, third-party-advisory, advisory, web
-
github.com
/python-pillow/Pillow/commit/ff60894d697d1992147b791101ad53a8bf1352e4
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
vendor-advisory, web
-
usn.ubuntu.com
/4430-1/
vendor-advisory, third-party-advisory, advisory, web
-
usn.ubuntu.com
/4430-2/
vendor-advisory, third-party-advisory, advisory, web
-
pillow.readthedocs.io
/en/stable/releasenotes/
release-notes, article, web
-
pillow.readthedocs.io
/en/stable/releasenotes/7.1.0.html
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2020-10994
advisory, web
-
github.com
/advisories/GHSA-vj42-xq3r-hr3r
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-79.yaml
web
-
github.com
/python-pillow/Pillow
package
-
github.com
/python-pillow/Pillow/blob/master/docs/releasenotes/7.1.0.rst#security
web
-
github.com
/python-pillow/Pillow/commits/master/src/libImaging
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427
web
-
pillow.readthedocs.io
/en/stable/releasenotes
web
-
snyk.io
/vuln/SNYK-PYTHON-PILLOW-574575
web
-
usn.ubuntu.com
/4430-1
web
-
usn.ubuntu.com
/4430-2
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
web
Sources
- CVE List CVE-2020-10994
- GitHub Advisory GHSA-vj42-xq3r-hr3r
- NVD CVE-2020-10994
- OSV BIT-pillow-2020-10994
- OSV PYSEC-2020-79
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.