CVE-2021-25288
mediumpriority · track · 37EPSS 0.024 · 84 %ileDEEUUSEPSS · scored 2026-10-26
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.4–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1835Red Hat Enterprise Linux (python-pillow): Mehrere SchwachstellenDeutsch2021-11-09csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux in python-pillow ausnutzen, um einen Denial of Service Angriff durchzuführen und vertrauliche Informationen offenzulegen.
- GHSA-rwv7-3v45-hg29Pillow Out-of-bounds Read vulnerability2021-06-08ghsa · osvUS
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i. This dates to Pillow 2.4.0.
- BIT-pillow-2021-252882024-03-06vendor · osvUS
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
- PYSEC-2021-1382021-06-02vendor · osvUS
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470cnnvd
- https://github.com/python-pillow/Pillow/releases/tag/8.2.0Patchcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/cnnvd
- https://packetstormsecurity.com/files/163500/Gentoo-Linux-Security-Advisory-202107-33.htmlcnnvd
- https://packetstormsecurity.com/files/164871/Red-Hat-Security-Advisory-2021-4149-03.htmlcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecodecnnvd
- https://security.gentoo.org/glsa/202107-33cnnvd
- https://vigilance.fr/vulnerability/Pillow-six-vulnerabilities-35493cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan