CVE-2026-42311: Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)
(updated )
Processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution.
References
- github.com/advisories/GHSA-pwv6-vv43-88gr
- github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
- github.com/python-pillow/Pillow/pull/9520
- github.com/python-pillow/Pillow/releases/tag/12.2.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc
- github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
- nvd.nist.gov/vuln/detail/CVE-2026-42311
Code Behaviors & Features
Detect and mitigate CVE-2026-42311 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →