CVE-2022-30595

NameCVE-2022-30595
DescriptionlibImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
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)bullseye (security), bullseye8.1.2+dfsg-0.3+deb11u2fixed
bookworm, bookworm (security)9.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
pillowsourcestretch(not affected)
pillowsourcebuster(not affected)
pillowsourcebullseye(not affected)
pillowsource(unstable)9.1.1-1

Notes

[bullseye] - pillow <not-affected> (Vulnerable code introduced later)
[buster] - pillow <not-affected> (Vulnerable code introduced later)
[stretch] - pillow <not-affected> (Vulnerable code introduced later)
https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html#security
Introduced by: https://github.com/python-pillow/Pillow/commit/0d729941a89af9e00d9d01d14ec144ab358410cd (9.1.0)
Fixed by: https://github.com/python-pillow/Pillow/commit/c846cc881ebe34e3518412c2e3636433d9947280 (9.1.1)

Search for package or bug name: Reporting problems