Pillow: Controlled heap out-of-bounds write in `ImageCmsTransform.apply()` via output mode mismatch
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-59205US | — | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/commit/a9ffc42bedf4fc0a7ef8d6486e7f9e81e3397721FIX
- https://github.com/python-pillow/Pillow/pull/9715FIX
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0ARTICLE
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-59205WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan