CVE-2026-42311
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.
- Score
- CVSS 4.0 8.6 High
- Status
- Analyzed - security-advisories@github.com
- Published
- 2026-05-09
- Last modified
- 2026-05-12
- Weaknesses
- CWE-190, CWE-787
Affected products
References
- https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
- https://github.com/python-pillow/Pillow/pull/9520
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr