Buffer overflow in Python Pillow
CVE-2026-25990
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 35.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Python-Pillow Pillow — versions >= 10.3.0, < 12.1.1
Weakness classification (CWE)
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc (Vendor Advisory)
- https://github.com/python-pillow/Pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa (Patch)
- www.openwall.com/lists/oss-security/2026/02/12/1 (Mailing List, Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:10184
- access.redhat.com/errata/RHSA-2026:14873
- access.redhat.com/errata/RHSA-2026:14874
- access.redhat.com/errata/RHSA-2026:16174
- access.redhat.com/errata/RHSA-2026:19712
- access.redhat.com/errata/RHSA-2026:28385
- access.redhat.com/errata/RHSA-2026:3461