VDB
CVE-2020-35655
CVE-2020-35655
PUBLISHED
CVSS 5.400000095367432 MEDIUM
Pillow Out-of-bounds Read
Reported by mitre · Published January 12, 2021
pillow is fixed in 8.1.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pillow | PyPI | 8.1.0 |
| py3-pillow | Alpine | 8.1.0-r0, 7.2.0-r1, 7.1.2-r1 |
| pillow | Bitnami | 8.1.0 |
| python-pillow | Arch Linux | 8.1.0-1 |
| pillow | Ubuntu:18.04:LTS | 5.1.0-1ubuntu0.4 |
| pillow | python | 8.1.0 |
| pillow | Ubuntu:20.04:LTS | 7.0.0-4ubuntu0.2 |
| pillow | Bitnami | 8.1.0 |
Risk scores
CVSS 3.1
5.400000095367432
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | py3-pillow | 0, 0, 0 |
| arch | python-pillow | 0 |
| n/a | n/a | * |
| PyPI | Pillow | 4.3.0 |
Timeline
- Jan 12, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (9 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 31, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-35655
vulnetix vdb fixes CVE-2020-35655
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-35655/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2021-a8ddc1ce70 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-880aa7bd27 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-35655 advisory
- https://github.com/advisories/GHSA-hf64-x4gq-p99h advisory
- https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf patch
- https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46 patch
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml advisory
- https://github.com/python-pillow/Pillow url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD url