# CVE-2020-35653

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, 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-35653, GHSA-f5g8-5qq7-938w, BIT-pillow-2020-35653, PYSEC-2021-69, UBUNTU-CVE-2020-35653, DEBIAN-CVE-2020-35653
- Record: https://cvemate.com/vulnerability/CVE-2020-35653 · JSON: https://cvemate.com/vulnerability/CVE-2020-35653/json

## Description

```text
In Pillow before 8.1.0, PcxDecode has a buffer over-read when decoding a crafted PCX file because the user-supplied stride value is trusted for buffer calculations.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- EPSS: 1.64%, percentile 77.209%, 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): \< 8.1.0-r0
- debian pillow (Debian): \< 8.1.0-1
- ubuntu pillow (Ubuntu): \< 2.3.0-1ubuntu3.4+esm2 \| \< 3.1.2-0ubuntu1.5 \| \< 5.1.0-1ubuntu0.4 \| \< 7.0.0-4ubuntu0.2
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0
- fedoraproject fedora: 32 \| 33
- PyPI pillow (PyPI): \< 8.1.0
- python pillow: \< 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://lists.debian.org/debian-lts-announce/2021/07/msg00018.html>
- <https://security.alpinelinux.org/vuln/CVE-2020-35653>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35653>
- <https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf>
- <https://github.com/advisories/GHSA-f5g8-5qq7-938w>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-69.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-35653>
- <https://ubuntu.com/security/notices/USN-4697-1>
- <https://ubuntu.com/security/notices/USN-4697-2>
- <https://www.cve.org/CVERecord?id=CVE-2020-35653>
- <https://security-tracker.debian.org/tracker/CVE-2020-35653>

---

Data as of 2026-12-05T04:58:25.521Z. 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
