CVE-2026-25990
JSON

8.6high

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

Severity
8.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cfh3-3jmp-rvhcBIT-PILLOW-2026-25990PYSEC-2026-2249

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.

Affected

Product or packageVersionsReported by
python-pillow Pillow>= 10.3.0, < 12.1.1CVE List
python3.12-pillowNot specified
Not affected: from 0:12.1.1-1.el8ap before *, from 0:12.1.1-1.el9ap before *, from 0:12.1.1-1.el9pc before *
CVE List
python-pillowNot specified
Not affected: from 0:12.1.1-1.el8pc before *, from 0:12.1.1-1.el9pc before *
CVE List
rhaiis/vllm-cuda-rhel9Not specified
Not affected: from 1772160593 before *
CVE List
rhaiis/vllm-rocm-rhel9Not specified
Not affected: from 1772160625 before *
CVE List
rhaiis/model-opt-cuda-rhel9Not specified
Not affected: from 1772713830 before *
CVE List
rhaiis/vllm-spyre-rhel9Not specified
Not affected: from 1778244546 before *
CVE List
ansible-automation-platform-25/lightspeed-chatbot-rhel8Not specified
Not affected: from 1774414699 before *
CVE List
ansible-automation-platform-26/lightspeed-chatbot-rhel9Not specified
Not affected: from 1774417022 before *
CVE List
rhoai/odh-caikit-tgis-serving-rhel9Not specified
Not affected: from 1776247907 before *
CVE List
rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9Not specified
Not affected: from 1776257621 before *
CVE List
rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9Not specified
Not affected: from 1776243239 before *
CVE List

All scores

GitHub_M8.6high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
redhat-SADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

An out-of-bounds write may be triggered when loading a specially crafted PSD image. Pillow >= 10.3.0 users are affected.

Patches

Pillow 12.1.1 will be released shortly with a fix for this.

Workarounds

Image.open() has a formats parameter that can be used to prevent PSD images from being opened.

References

Pillow 12.1.1 will add release notes at https://pillow.readthedocs.io/en/stable/releasenotes/index.html

NVD (es)

Pillow es una librería de procesamiento de imágenes de Python. Desde la versión 10.3.0 hasta antes de la 12.1.1, una escritura fuera de límites puede ser activada al cargar una imagen PSD especialmente manipulada. Esta vulnerabilidad está corregida en la versión 12.1.1.

References

https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhcadvisory, vendor-advisory, web
https://github.com/python-pillow/Pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aafix, patch, web
http://www.openwall.com/lists/oss-security/2026/02/12/1advisory, fix, mailing-list, patch, third-party-advisory
https://access.redhat.com/security/cve/CVE-2026-25990vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2439170issue-tracking, report, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25990.jsonweb
https://access.redhat.com/errata/RHSA-2026:6278advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:14874advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:6277advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:14873advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:28385advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:4128advisory, vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-25990 changed 2026-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-cfh3-3jmp-rvhc changed 2026-09-10CC-BY-4.0
NVDCVE-2026-25990 changed 2026-09-10Public domain
PyPA Advisory DatabasePYSEC-2026-2249 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PILLOW-2026-25990 changed 2026-09-08Apache-2.0