CVE-2021-25288Out-of-bounds Read in Pillow

CWE-125Out-of-bounds Read11 documents8 sources
Severity
9.1CRITICALNVD
EPSS
0.3%
top 49.78%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 2
Latest updateMar 31

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExploitability: 3.9 | Impact: 5.2

Affected Packages5 packages

NVDpython/pillow< 8.2.0
PyPIpython/pillow2.4.08.2.0
Debianpython/pillow< 8.1.2+dfsg-0.2+3
Ubuntupython/pillow< 2.3.0-1ubuntu3.4+esm5+2
Palo Altopaloalto/pan-os

Also affects: Fedora 33

🔴Vulnerability Details

5
OSV
pillow vulnerabilities2026-03-31
OSV
Pillow Out-of-bounds Read vulnerability2021-06-08
GHSA
Pillow Out-of-bounds Read vulnerability2021-06-08
OSV
CVE-2021-25288: An issue was discovered in Pillow before 82021-06-02
CVEList
CVE-2021-25288: An issue was discovered in Pillow before 82021-06-02

📋Vendor Advisories

5
Ubuntu
Pillow vulnerabilities2026-03-31
Palo Alto
PAN-SA-2024-0004 Informational Bulletin: OSS CVEs fixed in PAN-OS2024-04-10
Ubuntu
Pillow vulnerabilities2021-05-19
Red Hat
python-pillow: Out-of-bounds read in J2K image reader2021-04-01
Debian
CVE-2021-25288: pillow - An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read i...2021
CVE-2021-25288 — Out-of-bounds Read in Python Pillow | cvebase