Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
At a glance
Severity
HIGH 7.5
EPSS
EPSS 0.39 % · percentile 32 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Modified
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.
GHSA-6r8x-57c9-28j4 — Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
PYSEC-2026-3451 — 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 ne