
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25990 is an out-of-bounds write vulnerability in Pillow, the Python imaging library, triggered when loading a specially crafted PSD (Photoshop Document) image. It affects Pillow versions 10.3.0 through 12.1.0 (i.e., >= 10.3.0, < 12.1.1) and was disclosed and patched on February 11, 2026. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 8.6 (High) (GitHub Advisory, Openwall).
The root cause is an out-of-bounds write (CWE-787) in Pillow's image tile decoding and encoding logic in src/decode.c and src/encode.c. Specifically, the _setimage function failed to validate that tile x and y offsets were non-negative before processing, allowing a specially crafted PSD file with invalid (negative) tile extents to trigger a write beyond the intended buffer boundary. The fix adds explicit checks for negative xoff and yoff values, raising a ValueError if tile extents are invalid rather than proceeding with the out-of-bounds write (GitHub Commit, GitHub Advisory). Exploitation requires that an attacker supply a malicious PSD file to an application that processes it using a vulnerable Pillow version.
Successful exploitation can cause a denial of service by crashing the application processing the malicious PSD image. The CVSS v4.0 scoring also indicates potential high impact on confidentiality and integrity of the vulnerable system, suggesting that in certain scenarios the out-of-bounds write could be leveraged beyond a crash. Downstream products incorporating Pillow are also affected, including multiple IBM products (Maximo Application Suite, Cloud Pak for Automation, IBM Instana, IBM Guardium Data Security Center, watsonx Orchestrate, and others) as well as Oracle products (GitHub Advisory, Red Hat Bugzilla).
As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.015% (3rd percentile), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
Image.open() on the malicious PSD file, which invokes the vulnerable _setimage function in decode.c without validating negative tile offsets.PsdImagePlugin or ImageFile modules; unexpected ValueError or SystemError exceptions related to tile extents..psd files in upload directories or temporary processing folders.Upgrade Pillow to version 12.1.1 or later, which contains the fix for this vulnerability (GitHub Advisory, Openwall). As a workaround where immediate patching is not possible, use the formats parameter of Image.open() to explicitly exclude PSD from the list of accepted formats, preventing malicious PSD files from being processed. Additionally, restrict file upload capabilities to trusted sources, implement input validation to reject PSD files if not required, and monitor for unexpected application crashes during image processing. Red Hat has issued errata (RHSA-2026:3462, RHSA-2026:4128, RHSA-2026:6277, RHSA-2026:14873, RHSA-2026:14874, RHSA-2026:6277) for affected products (Red Hat Bugzilla).
The vulnerability was reported by security researcher Yarden Porat and remediated by the Pillow maintainers (radarhere, wiredfool, hugovk). The disclosure was coordinated through GitHub's security advisory process and announced on the oss-security mailing list by Alan Coopersmith of Oracle Solaris Engineering (Openwall). Multiple Linux distributions (Ubuntu, Fedora, Debian, SUSE, Amazon Linux) and enterprise vendors (IBM, Oracle, Red Hat, Splunk) issued advisories and patches for affected downstream products, reflecting broad ecosystem impact.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."