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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 10.3.0, < 12.2.0 |
References
- https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35eaPatch
- https://github.com/python-pillow/Pillow/pull/9520Issue Tracking, Patch
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0Product, Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88grPatch, Vendor Advisory
Timeline
- Published
- May 9, 2026
- Last modified
- Jul 24, 2026
- NVD status
- Analyzed