{"cve":"CVE-2021-25288","nvd":{"published":"2021-06-02T16:15:08.650","modified":"2026-06-17T03:41:46.287","status":"Modified","description":"An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1},"cwes":["CWE-125"],"references":["https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/","https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode","https://security.gentoo.org/glsa/202107-33","https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470"],"products":["fedoraproject:fedora","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-25288","score":0.02388,"percentile":0.83948,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rwv7-3v45-hg29","url":"https://osv.dev/vulnerability/GHSA-rwv7-3v45-hg29","summary":"Pillow Out-of-bounds Read vulnerability","modified":"2024-10-09T21:25:47.466845Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=2.4.0 <8.2.0"],"fixed":["8.2.0"]}]},{"id":"PYSEC-2021-138","url":"https://osv.dev/vulnerability/PYSEC-2021-138","summary":"","modified":"2023-12-06T01:00:57.469230Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<8.2.0"],"fixed":["8.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}