HIGH 7.5
PYSEC-2026-3453
Quick fix
PYSEC-2026-3453 — pillow: upgrade to the fixed version with the command below.
pip install --upgrade 'pillow>=12.3.0' Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0 [ADVISORY]
- https://github.com/python-pillow/Pillow/commit/a9ffc42bedf4fc0a7ef8d6486e7f9e81e3397721 [FIX]
- https://github.com/python-pillow/Pillow/pull/9715 [FIX]
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6 [EVIDENCE]