CVE-2026-112394
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L …
Pillow 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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/392ee6f0d19a4adb766a63e9a99f3c28193b8d31
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xp
- nvd.nist.gov/vuln/detail/CVE-2026-112394
- github.com/python-pillow/Pillow/pull/9723
- github.com/advisories/GHSA-4558-3h8r-v8xp
- nvd.nist.gov/vuln/detail/CVE-2026-112394
- cve.org/CVERecord?id=CVE-2026-112394
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.