Vulnerability Description
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image whose mode does not match the transform's declared output mode. This issue is fixed in version 12.3.0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 12.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/commit/a9ffc42bedf4fc0a7ef8d6486e7f9e81ePatch
- https://github.com/python-pillow/Pillow/pull/9715Issue TrackingPatch
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6ExploitVendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6ExploitVendor Advisory
FAQ
What is CVE-2026-59205?
CVE-2026-59205 is a vulnerability with a CVSS score of 7.5 (HIGH). Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image who...
How severe is CVE-2026-59205?
CVE-2026-59205 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59205?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.