{"schema_version":"1.9.0","id":"BIT-pillow-2021-25289","published":"2024-03-06T11:05:02.260Z","modified":"2026-09-08T08:48:18.491494828Z","aliases":["CVE-2021-25289","GHSA-57h3-9rgr-c24m","PYSEC-2021-35"],"details":"An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.","affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.1.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2021-25289.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"references":[{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25289"}],"database_specific":{"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"],"severity":"Critical"}}