CVE-2020-10378 json
Out-of-bounds read in Pillow
published 2020-06-25 6 y ago modified 2026-09-08 2 mo ago also BIT-pillow-2020-10378 , EUVD-2020-0130 , GHSA-3xv8-3j54-hgrp , PYSEC-2020-77
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.
Patch / fix
- pypi pillow 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-10378
- pillow Ubuntu 16.04 LTS 3.1.2-0ubuntu1.4
- 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-10378
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@6a83e43 commit
- github.com/python-pillow/Pillow@124f4bb commit
- github.com/python-pillow/Pillow#4538 pull request
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-10378 updated cvss 5.9
python-pillow: an out-of-bounds read in libImaging/PcxDecode.c can occur when reading PCX files
-
Red Hat Enterprise Linux 5 python-imaging Red Hat Enterprise Linux 6 python-imaging, python-imaging-tk, python-imaging-saneaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane 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 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.11% chance of exploitation in the next 30 days, higher than 66% 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:H/I:N/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pillow | <7.1.0 |
7.1.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/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac
web, patch
-
github.com
/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2
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
-
github.com
/python-pillow/Pillow/commits/master/src/libImaging
web, broken-link
-
pillow.readthedocs.io
/en/stable/releasenotes/7.1.0.html
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2020-10378
advisory, web
-
github.com
/python-pillow/Pillow/issues/4750
web
-
github.com
/advisories/GHSA-3xv8-3j54-hgrp
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-77.yaml
web
-
github.com
/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-77.yaml
web
-
github.com
/python-pillow/Pillow
package
-
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/6.2.3.html
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-10378
- GitHub Advisory GHSA-3xv8-3j54-hgrp
- NVD CVE-2020-10378
- OSV BIT-pillow-2020-10378
- OSV PYSEC-2020-77
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.