CVE-2026-59991
highpsd-tools is a Python package for working with Adobe Photoshop PSD files.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/psd-tools/psd-tools/commit/a3d9a53ad51e667b5772a4f636ca6f2e16f4b271 security-advisories@github.com
- https://github.com/psd-tools/psd-tools/releases/tag/v1.17.4 security-advisories@github.com
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m security-advisories@github.com
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m 134c704f-9b21-4f2e-91b3-4a467353bcc0
