CVE-2026-25990 Pillow has an out-of-bounds write when loading PSD images

High 8.6 Published Updated

An out-of-bounds write in Pillow allows attackers to execute arbitrary code or cause denial of service via crafted PSD images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-25990?

CVE-2026-25990 is a high-severity memory corruption vulnerability in Python Pillow, published on 11 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Pillow is a Python imaging library. From 10.3.0 to before 12.1.1, an out-of-bounds write may be triggered when loading a specially crafted PSD image. This vulnerability is fixed in 12.1.1.

Weakness: CWE-787

Which versions are affected by CVE-2026-25990?

4 open source packages ship an affected version, including pillow. It affects 1 product.

PackageAffectedFixed in
pillow BitnamiFrom 10.3.012.1.1
pillow PyPIFrom 10.3.012.1.1
pillow PyPIFrom 10.3.012.1.1
pillow PyPIFrom 10.3.012.1.1
Linux distribution packages (4)
python-Pillow SUSE:Linux Enterprise Server 16.0All versions11.3.0-160000.3.1
python-Pillow SUSE:Linux Enterprise Server for SAP applications 16.0All versions11.3.0-160000.3.1
python-Pillow openSUSE:Leap 16.0All versions11.3.0-160000.3.1
python-Pillow openSUSE:TumbleweedAll versions12.1.1-1.1

Products include Python Pillow.

How do I fix CVE-2026-25990?

Upgrade pillow to 12.1.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-25990 being exploited?

There is no known exploitation of CVE-2026-25990 in the wild and no public exploit code.

All Python Pillow vulnerabilities

Sources

Also known as BIT-pillow-2026-25990, CLEANSTART-2026-LD17391, CLEANSTART-2026-UB59787, CLSA-2026-1774830261, CLSA-2026-1774830267, DEBIAN-CVE-2026-25990 and 17 more.

Is CVE-2026-25990 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free