CVE-2026-59991
psd-tools is a Python package for working with Adobe Photoshop PSD …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/psd-tools/psd-tools/commit/a3d9a53ad51e667b5772a4f636ca6f2e16f4b271
- github.com/psd-tools/psd-tools/releases/tag/v1.17.4
- github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m
- github.com/advisories/GHSA-8q6g-vjhf-jp8m
- nvd.nist.gov/vuln/detail/CVE-2026-59991
- cve.org/CVERecord?id=CVE-2026-59991
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.