Out-of-bounds Read in Python Pillow
CVE-2021-25288
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.024, 84.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (jtb75/serverless-examples). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html (Vendor Advisory)
- github.com/python-pillow/Pillow/pull/5377 (Third Party Advisory)
- FEDORA-2021-77756994ba (vendor-advisory)
- GLSA-202107-33 (vendor-advisory, Third Party Advisory)