Vulnerability in Psd-Tools
CVE-2026-59991
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.
Published .
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
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Psd-Tools — versions < 1.17.4
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-59991?
- CVE-2026-59991 is a high-severity vulnerability in Psd-Tools, classified under CWE-789. CVSS score: 7.5/10. Published 2026-09-22.
- How severe is CVE-2026-59991?
- High severity. CVSS v3 base score is 7.5 out of 10.