Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Pillow
  4. ›
  5. CVE-2020-35653

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

March 18, 2021 (updated October 8, 2024)

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.

References

  • github.com/advisories/GHSA-f5g8-5qq7-938w
  • github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-69.yaml
  • github.com/python-pillow/Pillow
  • github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf
  • lists.debian.org/debian-lts-announce/2021/07/msg00018.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
  • nvd.nist.gov/vuln/detail/CVE-2020-35653
  • pillow.readthedocs.io/en/stable/releasenotes/index.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35653 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.1.0

Fixed versions

  • 8.1.0

Solution

Upgrade to version 8.1.0 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/Pillow/CVE-2020-35653.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.