Vulnerability

CVE-2026-42311

highCVSS 4.0 8.6Published 9 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Python pillow

Weakness type

References

  • github.com /python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d…
  • 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-pwv6-vv43-88…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning