CVE-2026-59199
Pillow is a Python imaging library. Prior to 12.3.0, Pillow public …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b
- github.com/python-pillow/Pillow/pull/9703
- github.com/python-pillow/Pillow/releases/tag/12.3.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4
- nvd.nist.gov/vuln/detail/CVE-2026-59199
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3451.yaml
- github.com/advisories/GHSA-6r8x-57c9-28j4
- nvd.nist.gov/vuln/detail/CVE-2026-59199
- cve.org/CVERecord?id=CVE-2026-59199
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.