Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 13.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/commit/392ee6f0d19a4adb766a63e9a99f3c281Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xpExploitVendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xpExploitVendor Advisory
FAQ
What is CVE-2026-112394?
CVE-2026-112394 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 unpack...
How severe is CVE-2026-112394?
CVE-2026-112394 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-112394?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.