cve.bz

CVE-2026-25990 python pillow: Out-of-bounds Write

8.6 highEPSS 0.4%Fix available

High (8.6) in python pillow. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 12.1.1.

On this page
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.

Severity

CVSS 4.0

8.6 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-02-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25990 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25990?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25990?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25990 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pillowfrom 10.3.0 before 12.1.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cfh3-3jmp-rvhcPyPIpillow>=10.3.0 <12.1.112.1.1
PYSEC-2026-2249PyPIpillow>=10.3.0 <12.1.112.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pillow11.1.0-5+deb13u1DEBIAN-CVE-2026-25990 DSA-6147-1
Debian14pillow12.1.1-1DEBIAN-CVE-2026-25990
Ubuntu25.10pillow11.3.0-1ubuntu1.1UBUNTU-CVE-2026-25990 USN-8047-1
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server0:2.5.10-4.el8apRHSA-2026:6278
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.1.1-1.el8apRHSA-2026:6278
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server0:2.6.14-1.el9RHSA-2026:6278
Red Hatansible_automation_platform:2.5::el9python3.12-pillow0:12.1.1-1.el9apRHSA-2026:6278
Red Hatansible_automation_platform:2.6::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-1.el9RHSA-2026:6277
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.7-1.el9apRHSA-2026:6277
Red Hatansible_automation_platform:2.6::el9python3.12-pillow, python3.12-pillow-debuginfo, python3.12-pillow-debugsource0:12.1.1-1.el9apRHSA-2026:6277
Red Hatsatellite:6.16::el8candlepin, candlepin-selinux0:4.4.25-1.el8satRHSA-2026:14874
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-markdown, python3.11-markdown0:3.8.2-1.el8pcRHSA-2026:14874
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pillow, python3.11-pillow, python-pillow-debugsource and 1 more0:12.1.1-1.el8pcRHSA-2026:14874
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pyOpenSSL, python3.11-pyOpenSSL0:24.1.0-2.el8pcRHSA-2026:14874
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8rubygem-activesupport0:6.1.7.8-2.el8satRHSA-2026:14874
13 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-Pillow11.3.0-160000.3.1SUSE-SU-2026:20992-1
openSUSELeap 16.0python-Pillow11.3.0-160000.3.1openSUSE-SU-2026:20458-1
openSUSETumbleweedpython-Pillow12.1.1-1.1openSUSE-SU-2026:10198-1
Alpinev3.23py3-pillow11.3.0-r2ALPINE-CVE-2026-25990
Alpinev3.24py3-pillow12.1.1-r0ALPINE-CVE-2026-25990

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-pillow-0:12.1.1-1.el8apFixed 2026-03-31RHSA-2026:6278
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-pillow-0:12.1.1-1.el9apFixed 2026-03-31RHSA-2026:6278
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-pillow-0:12.1.1-1.el9apFixed 2026-03-31RHSA-2026:6277
Red Hat Satellite 6.16 for RHEL 8python-pillow-0:12.1.1-1.el8pcFixed 2026-05-07RHSA-2026:14874
Red Hat Satellite 6.16 for RHEL 9python-pillow-0:12.1.1-1.el9pcFixed 2026-05-07RHSA-2026:14874
Red Hat Satellite 6.17 for RHEL 9python-pillow-0:12.1.1-1.el9pcFixed 2026-05-07RHSA-2026:14873
Red Hat Satellite 6.18 for RHEL 9python3.12-pillow-0:12.1.1-1.el9pcFixed 2026-06-23RHSA-2026:28385
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1772160593Fixed 2026-02-27RHSA-2026:3461
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1772160625Fixed 2026-02-27RHSA-2026:3462
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1772713830Fixed 2026-03-09RHSA-2026:4128
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Red Hat AI Inference Serverrhai/docling-cuda-rhel9Will not fix
Red Hat AI Inference Serverrhaiis-preview/vllm-cuda-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform/automation-dashboard-rhel9Affected
Red Hat Ansible Automation Platform 2python3.11-pillowAffected
Red Hat Ansible Automation Platform 2python3x-pillowNot affected
48 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25990.

References

Check your stackJSON