# CVE-2020-35655

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-01-12 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2020-35655, GHSA-hf64-x4gq-p99h, BIT-pillow-2020-35655, PYSEC-2021-71, UBUNTU-CVE-2020-35655, DEBIAN-CVE-2020-35655
- Record: https://cvemate.com/vulnerability/CVE-2020-35655 · JSON: https://cvemate.com/vulnerability/CVE-2020-35655/json

## Description

```text
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.
```

## Signals

- CVSS: 5.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:N/A:P
- EPSS: 1.663%, percentile 77.526%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-pillow (Alpine Linux): \< 7.1.2-r1 \| \< 7.2.0-r1 \| \< 8.1.0-r0
- debian pillow (Debian): \< 8.1.0-1
- ubuntu pillow (Ubuntu): \< 5.1.0-1ubuntu0.4 \| \< 7.0.0-4ubuntu0.2
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 32 \| 33
- PyPI pillow (PyPI): ≥ 4.3.0, \< 8.1.0
- python pillow: ≥ 4.3.0, \< 8.1.0

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/index.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/>
- <https://security.alpinelinux.org/vuln/CVE-2020-35655>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35655>
- <https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf>
- <https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46>
- <https://github.com/advisories/GHSA-hf64-x4gq-p99h>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/>
- <https://ubuntu.com/security/CVE-2020-35655>
- <https://ubuntu.com/security/notices/USN-4697-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-35655>
- <https://security-tracker.debian.org/tracker/CVE-2020-35655>

---

Data as of 2026-12-05T04:58:42.315Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
