CVE-2026-112394

NameCVE-2026-112394
DescriptionPillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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)bookworm, bookworm (security)9.4.0-1.1+deb12u1vulnerable
trixie11.1.0-5+deb13u4vulnerable
trixie (security)11.1.0-5+deb13u3vulnerable
forky12.3.0-1vulnerable
sid13.0.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsource(unstable)13.0.0-1

Notes

https://github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xp
Fixed by: https://github.com/python-pillow/Pillow/commit/392ee6f0d19a4adb766a63e9a99f3c28193b8d31 (13.0.0)

Search for package or bug name: Reporting problems