Skip to main content
VulnerabilityPublished Updated

CVE-2026-25990: Pillow affected by out-of-bounds write when loading PSD images

Affects pillowSource GCVE Database

0
Authoritative record:CVE-2026-25990· High 8.6

Not known to be exploited · CVSS 8.6 High : upgrade to 12.1.1 soon.

Data as of 27 Oct 2026, 00:30 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 12.1.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade pillow to 12.1.1.

Affected software

ProductAffectedFixed in
PyPIpillowAffected
  • >=10.3.0 <12.1.1
Fixed in
  • 12.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Pillow version 12.1.1 or later, where the vulnerability is fixed. As a temporary workaround, prevent PSD images from being opened by using the formats parameter in Image.open().

Description

An out-of-bounds write vulnerability exists in Pillow when loading specially crafted PSD images. This affects Pillow versions from 10.3.0 up to but not including 12.1.1. The issue can lead to memory corruption. A fix is available in Pillow 12.1.1. Users can mitigate risk by preventing PSD images from being opened using the formats parameter in Image.open().

References

Community reviews

Loading reviews…