PyPA Advisory Database
PYSEC-2026-2252
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | From 10.3.0 before 12.2.0 (fixed in 12.2.0) |