High severity7.8GHSA Advisory· Published May 9, 2026· Updated May 14, 2026
CVE-2026-42311
CVE-2026-42311
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pillowPyPI | >= 10.3.0, < 12.2.0 | 12.2.0 |
Affected products
2- Range: >= 10.3.0, < 12.2.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35eanvdPatchWEB
- github.com/python-pillow/Pillow/pull/9520nvdIssue TrackingPatchWEB
- github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88grnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-pwv6-vv43-88grghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42311ghsaADVISORY
- github.com/python-pillow/Pillow/releases/tag/12.2.0nvdProductRelease NotesWEB
- github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhcghsaWEB
News mentions
0No linked articles in our index yet.