{"id":"DEBIAN-CVE-2026-59991","details":"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.","modified":"2026-09-24T08:47:34.021966209Z","published":"2026-09-22T20:17:04.123Z","upstream":["CVE-2026-59991"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-59991"}],"affected":[{"package":{"name":"psd-tools","ecosystem":"Debian:12","purl":"pkg:deb/debian/psd-tools?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.7+dfsg.1-1","1.10.9+dfsg.1-1","1.12.0+dfsg.1-1","1.12.1+dfsg.1-1","1.14.2+dfsg.1-1","1.14.3+dfsg.1-1","1.15.0+dfsg.1-1","1.16.0+dfsg.1-1","1.17.0+dfsg.1-1","1.17.4+dfsg.1-1","1.9.24+dfsg.1-1","1.9.28+dfsg.1-1","1.9.30+dfsg.1-1","1.9.31+dfsg.1-1","1.9.32+dfsg.1-1","1.9.34+dfsg.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59991.json"}},{"package":{"name":"psd-tools","ecosystem":"Debian:13","purl":"pkg:deb/debian/psd-tools?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.7+dfsg.1-1","1.10.7+dfsg.1-1+deb13u1","1.10.9+dfsg.1-1","1.12.0+dfsg.1-1","1.12.1+dfsg.1-1","1.14.2+dfsg.1-1","1.14.3+dfsg.1-1","1.15.0+dfsg.1-1","1.16.0+dfsg.1-1","1.17.0+dfsg.1-1","1.17.4+dfsg.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59991.json"}},{"package":{"name":"psd-tools","ecosystem":"Debian:14","purl":"pkg:deb/debian/psd-tools?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.4+dfsg.1-1"}]}],"versions":["1.10.7+dfsg.1-1","1.10.9+dfsg.1-1","1.12.0+dfsg.1-1","1.12.1+dfsg.1-1","1.14.2+dfsg.1-1","1.14.3+dfsg.1-1","1.15.0+dfsg.1-1","1.16.0+dfsg.1-1","1.17.0+dfsg.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59991.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}