ADVISORIES

PyPA Advisory Database

PYSEC-2026-3451

Details

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 packages

EcosystemPackageAffected versions
PyPIpillow
All versions before 12.3.0 (fixed in 12.3.0)

References