Skip to content
CVE PROGRAM SOURCE RECORD8.6 High

CVE-2026-42311

Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)

Description

Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

python-pillow Pillow

  • >= 10.3.0, < 12.2.0affected

References