CVE-2021-25292

NameCVE-2021-25292
DescriptionAn issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)jessie, jessie (lts)2.6.1-2+deb8u9fixed
stretch (security)4.0.0-4+deb9u4fixed
stretch (lts), stretch4.0.0-4+deb9u5fixed
buster5.4.1-2+deb10u3fixed
buster (security)5.4.1-2+deb10u6fixed
bullseye (security), bullseye8.1.2+dfsg-0.3+deb11u1fixed
bookworm9.4.0-1.1fixed
sid, trixie10.3.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourcejessie(not affected)
pillowsourcestretch(not affected)
pillowsourcebuster5.4.1-2+deb10u3
pillowsource(unstable)8.1.1-1

Notes

[stretch] - pillow <not-affected> (Vulnerable code introduced later)
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
https://github.com/python-pillow/Pillow/commit/521dab94c7ab72b037bd9a83e9663401e0fd2cee
Introduced in: https://github.com/python-pillow/Pillow/commit/6207b44ab1ff4a91d8ddc7579619876d0bb191a4 (5.1.0)
[jessie] - pillow <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems