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

CVE-2020-35654: Pillow Out-of-bounds Write

March 18, 2021 (updated October 11, 2024)

In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.

References

  • github.com/advisories/GHSA-vqcj-wrf2-7v73
  • github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-70.yaml
  • github.com/python-pillow/Pillow
  • github.com/python-pillow/Pillow/commit/eb8c1206d6b170d4e798a00db7432e023853da5c
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
  • nvd.nist.gov/vuln/detail/CVE-2020-35654
  • pillow.readthedocs.io/en/stable/releasenotes/index.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35654 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 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/Pillow/CVE-2020-35654.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:26 +0000.