NetSight
high7.8

CVE-2026-42311

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

Impact

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 packages

EcosystemPackageAffectedFixed in
pippillow>= 10.3.0, < 12.2.012.2.0

Affected products

VendorProductAffected versions
PythonPillow
from 10.3.0 before 12.2.0

Weakness classification

References