CVE-2020-35655 json
Pillow Out-of-bounds Read
published 5y ago modified 2mo ago also BIT-pillow-2020-35655 , EUVD-2021-0182 , GHSA-hf64-x4gq-p99h , PYSEC-2021-71
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.
Patch / fix
- pypi pillow 8.1.0
- bitnami pillow 8.1.0
- python pillow 8.1.0
- pillow Debian 14, Debian 13, Debian 12 8.1.0-1
debian advisories DEBIAN-CVE-2020-35655
- pillow Ubuntu 18.04 LTS 5.1.0-1ubuntu0.4
- pillow Ubuntu 20.04 LTS 7.0.0-4ubuntu0.2
ubuntu advisories UBUNTU-CVE-2020-35655
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
- python-pillow RHEL 8 5.1.1-16.el8
- python3-pillow RHEL 8 5.1.1-16.el8
red hat advisories RHSA-2021:4149
- python-Pillow OpenStack Cloud Crowbar 9, OpenStack Cloud 9 5.2.0-3.8.1
suse advisories SUSE-SU-2021:1938-1
- python-Pillow openSUSE Tumbleweed 12.3.0-1.1
- python-Pillow openSUSE Tumbleweed 8.3.2-1.2
- python-Pillow openSUSE Tumbleweed 10.3.0-1.1
- python-Pillow openSUSE Leap 15.2 8.3.1-lp152.5.3.1
- python-CairoSVG openSUSE Leap 15.2 2.5.1-lp152.2.3.1
opensuse advisories openSUSE-SU-2026:11261-1openSUSE-SU-2024:11209-1openSUSE-SU-2024:13827-1openSUSE-SU-2021:1134-1
- python3-pillow AlmaLinux 8 5.1.1-16.el8
almalinux advisories ALSA-2021:4149
- python-pillow Rocky Linux 8 5.1.1-16.el8
rocky linux advisories RLSA-2021:4149
- py3-pillow Alpine 3.12 7.1.2-r1
- py3-pillow Alpine 3.13 7.2.0-r1
- py3-pillow Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 8.1.0-r0
alpine advisories ALPINE-CVE-2020-35655
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-pillow Arch Linux 8.1.0-1
arch linux advisories AVG-1438
Is CVE-2020-35655 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-35655 updated cvss 5.4
python-pillow: Buffer over-read in SGI RLE image reader
-
Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-saneaffected: no fix planned “Out of support scope”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available
-
Red Hat Enterprise Linux AppStream (v. 8) python-pillow 5.1.1-16.el8, python3-pillow 5.1.1-16.el8fixed: vendor fix RHSA-2021:4149
-
Red Hat Enterprise Linux 9 python-pillow Red Hat Quay 3 quay/quay-builder-qemu-rhcos-rhel8not 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.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pillow | >=4.3.0, <8.1.0 |
8.1.0 |
| bitnami | pillow | >=4.3.0, <8.1.0 |
8.1.0 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf
web
-
github.com
/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/
vendor-advisory, web
-
pillow.readthedocs.io
/en/stable/releasenotes/index.html
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35655
advisory, web
-
github.com
/advisories/GHSA-hf64-x4gq-p99h
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml
web
-
github.com
/python-pillow/Pillow
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/
web
Sources
- CVE List CVE-2020-35655
- GitHub Advisory GHSA-hf64-x4gq-p99h
- NVD CVE-2020-35655
- OSV BIT-pillow-2020-35655
- OSV PYSEC-2021-71
Fencer Intel 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.