Vulnerability Description
Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). 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/ceefc348eb3c3844c7f9796ef2cc3a7ddPatch
- https://github.com/python-pillow/Pillow/pull/9703ExploitIssue TrackingPatch
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4ExploitVendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4ExploitVendor Advisory
FAQ
What is CVE-2026-59199?
CVE-2026-59199 is a vulnerability with a CVSS score of 7.5 (HIGH). Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in I...
How severe is CVE-2026-59199?
CVE-2026-59199 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-59199?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.