Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 10.3.0, < 12.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205Patch
- https://github.com/python-pillow/Pillow/pull/9520Issue TrackingPatch
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0ProductRelease Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88grPatchVendor Advisory
FAQ
What is CVE-2026-42311?
CVE-2026-42311 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ex...
How severe is CVE-2026-42311?
CVE-2026-42311 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42311?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.