CVE-2026-42311

HIGH EPSS 4.6%
Published May 9, 20261mo ago · Modified Jun 17, 20262w ago
8.6 CVSS 4.0
High
Find Similar
Published May 9, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
8.6
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
4.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-190 Integer Overflow or Wraparound Numeric Error
CWE-787 Out-of-bounds Write Memory Safety

Affected Products 1

VendorProductVersionRange
pythonpillow*≥10.3.0  –  <12.2.0

References 4

  • github.com https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
    Patch
  • github.com https://github.com/python-pillow/Pillow/pull/9520
    Issue TrackingPatch
  • github.com https://github.com/python-pillow/Pillow/releases/tag/12.2.0
    ProductRelease Notes
  • github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
    PatchVendor Advisory

Remediation

  • github.com https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
    Patch
  • github.com https://github.com/python-pillow/Pillow/pull/9520
    Issue TrackingPatch
  • github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
    PatchVendor Advisory