Home

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.

PUBLISHED Reserved 2026-04-26 | Published 2026-05-09 | Updated 2026-05-09 | Assigner GitHub_M




HIGH: 8.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-190: Integer Overflow or Wraparound

CWE-787: Out-of-bounds Write

Product status

>= 10.3.0, < 12.2.0
affected

References

github.com/...Pillow/security/advisories/GHSA-pwv6-vv43-88gr

github.com/python-pillow/Pillow/pull/9520

github.com/...ommit/58f9a1d166dcb0c274807d4423522d205b0c35ea

github.com/python-pillow/Pillow/releases/tag/12.2.0

cve.org (CVE-2026-42311)

nvd.nist.gov (CVE-2026-42311)

Download JSON