{"id":"CVE-2021-25288","aliases":["BIT-pillow-2021-25288","GHSA-rwv7-3v45-hg29","PYSEC-2021-138"],"url":"https://o3.security/vulnerability/CVE-2021-25288","summary":"Pillow Out-of-bounds Read vulnerability","details":"An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.","published":"2021-06-02T16:15:08.650Z","modified":"2026-08-07T11:31:00.972232088Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"8.2.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470","label":"python-pillow/Pillow#5377"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470"},{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:00.972232088Z"}}