{"schema_version":"1.9.0","id":"BIT-pillow-2021-25288","published":"2024-03-06T11:05:12.004Z","modified":"2026-09-08T08:48:18.521693917Z","aliases":["CVE-2021-25288","GHSA-rwv7-3v45-hg29","PYSEC-2021-138"],"details":"An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.","affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2021-25288.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25288"}],"database_specific":{"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"],"severity":"Critical"}}