CVE-2026-59199CWE-190CWE-787
Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
High · published July 14, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 7.5 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00385 · 31.4th percentile
- Weaknesses
- CWE-190 · Integer Overflow or Wraparound; CWE-787 · Out-of-bounds Write
- Published
- 2026-07-14T15:42Z
EPSS history
Timeline