CVE-2026-59991CWE-789

CVE-2026-59991

High · published September 23, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to 1.17.4, PSDImage.composite() and PSDImage.numpy() allocated output buffers from attacker-controlled PSD header geometry, including width, height, channels, depth, and per-layer rectangles, before validating those values against the available file data. A tiny crafted PSD could therefore cause multi-gigabyte memory allocation, and PSDImage.composite() could return a black image with only a warning instead of raising an exception. Services that composite untrusted PSD files could be terminated by out-of-memory handling. This issue is fixed in version 1.17.4.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00517 · 43.2th percentile
Weakness
CWE-789 · Memory Allocation with Excessive Size Value
Published
2026-09-23T00:17Z
References (4)
EPSS history
Timeline
  • 24 SEP 03:24Z
    EPSS moved — → 1%
    epss
  • 22 SEP 19:11Z
    psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry
    cvelistv5