CVE-2026-25990: Pillow affected by out-of-bounds write when loading PSD images
An out-of-bounds write may be triggered when loading a specially crafted PSD image. Pillow >= 10.3.0 users are affected.
References
- github.com/advisories/GHSA-cfh3-3jmp-rvhc
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/commit/54ba4db542ad3c7b918812a4e2d69c27735a3199
- github.com/python-pillow/Pillow/pull/9427
- github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc
- nvd.nist.gov/vuln/detail/CVE-2026-25990
- pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html
Code Behaviors & Features
Detect and mitigate CVE-2026-25990 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 →