PYSEC-2026-2252

At a glance

Published
Updated
CVE
CVE-2026-42311
Aliases
BIT-pillow-2026-42311, GHSA-pwv6-vv43-88gr
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

PackageVersions
PyPI · pillowintroduced 10.3.0, fixed 12.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database