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.
Configurations

No configuration.

History

22 Sep 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-22 20:17

Updated : 2026-09-23 18:12


NVD link : CVE-2026-59991

Mitre link : CVE-2026-59991

CVE.ORG link : CVE-2026-59991


JSON object : View

Products Affected

No product.

CWE
CWE-789

Memory Allocation with Excessive Size Value