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.
Affected products
python: pillow
References5
- github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-5… ExploitVendor Advisory
- github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-5… ExploitVendor Advisory
- github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796e… Patch
- github.com/python-pillow/Pillow/pull/9703 ExploitIssue TrackingPatch
- github.com/python-pillow/Pillow/releases/tag/12.3.0 Release Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 33 · as of 15 November 2026
- CWE
- CWE-190CWE-787
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.