{"cve":"CVE-2026-59205","nvd":{"published":"2026-07-14T16:17:02.370","modified":"2026-10-24T21:10:00.130","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-787"],"references":["https://github.com/python-pillow/Pillow/commit/a9ffc42bedf4fc0a7ef8d6486e7f9e81e3397721","https://github.com/python-pillow/Pillow/pull/9715","https://github.com/python-pillow/Pillow/releases/tag/12.3.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6","https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59205","score":0.00385,"percentile":0.32323,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9hw9-ch79-4vh6","url":"https://osv.dev/vulnerability/GHSA-9hw9-ch79-4vh6","summary":"Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch","modified":"2026-09-10T03:51:11.334365483Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.3.0"],"fixed":["12.3.0"]}]},{"id":"PYSEC-2026-3453","url":"https://osv.dev/vulnerability/PYSEC-2026-3453","summary":"","modified":"2026-07-15T20:11:15.582336837Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.3.0"],"fixed":["12.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}