CVE-2021-25288

NameCVE-2021-25288
DescriptionAn issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs989062

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)jessie, jessie (lts)2.6.1-2+deb8u10vulnerable
stretch (security)4.0.0-4+deb9u4vulnerable
stretch (lts), stretch4.0.0-4+deb9u6vulnerable
buster (security), buster, buster (lts)5.4.1-2+deb10u6vulnerable
bullseye (security), bullseye8.1.2+dfsg-0.3+deb11u2fixed
bookworm (security), bookworm9.4.0-1.1+deb12u1fixed
sid, trixie10.4.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourceexperimental8.2.0-1
pillowsource(unstable)8.1.2+dfsg-0.2unimportant989062

Notes

https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode
https://github.com/python-pillow/Pillow/commit/3bf5eddb89afdf690eceaa52bc4d3546ba9a5f87
Debian packages are built without JPEG2000 support
[jessie] - pillow <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems