# CVE-2020-35653: Pillow Out-of-bounds Read

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-01-12T08:02:35.000Z
- Modified: 2026-09-08T08:48:24.702Z
- Also known as: GHSA-f5g8-5qq7-938w, BIT-PILLOW-2020-35653, PYSEC-2021-69
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pillow (PyPI): before 8.1.0
- python pillow: before 8.1.0
- fedoraproject fedora: 32; 33
- debian debian_linux: 9.0
- pillow (Bitnami): before 8.1.0

## Every score

- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/index.html> (advisory, release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html> (discussion, mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35653> (advisory, web)
- <https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf> (web)
- <https://github.com/advisories/GHSA-f5g8-5qq7-938w> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-69.yaml> (web)
- <https://github.com/python-pillow/Pillow> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/> (web)

## Sources

- CVE List: [CVE-2020-35653](https://www.cve.org/CVERecord?id=CVE-2020-35653), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-f5g8-5qq7-938w](https://github.com/advisories/GHSA-f5g8-5qq7-938w), CC-BY-4.0, modified 2024-10-08
- NVD: [CVE-2020-35653](https://nvd.nist.gov/vuln/detail/CVE-2020-35653), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-69](https://osv.dev/vulnerability/PYSEC-2021-69), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-PILLOW-2020-35653](https://osv.dev/vulnerability/BIT-PILLOW-2020-35653), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-35653 · Whole record: https://cve.day/CVE-2020-35653.json · Rebuilt by cve.day 2026-11-25T22:57:56.979Z
