
CVE catalog
CVE-2026-59991
psd-tools: CVE-2026-59991
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.52% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | psd-tools | sid | 1.17.4+dfsg.1-2 | fixed |
| Debian | psd-tools | forky | 1.17.4+dfsg.1-2 | fixed |
| Debian | psd-tools | trixie | 1.10.7+dfsg.1-1+deb13u1 | vulnerable |
| Debian | psd-tools | bookworm | 1.9.24+dfsg.1-1 | vulnerable |
| Pip | psd-tools | Not reported | 1.17.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | psd-tools | source | sid | 1.17.4+dfsg.1-1 | not yet assigned | Not reported | Not reported |
| Debian | psd-tools | source | forky | 1.17.4+dfsg.1-1 | not yet assigned | Not reported | Not reported |
| Debian | psd-tools | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | psd-tools | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Pip | psd-tools | pip | Not reported | 1.17.4 | Not reported | GHSA-8Q6G-VJHF-JP8M | Not reported |
Notes
[trixie] psd-tools: Minor issue [bookworm] psd-tools: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-psd-tools]Affected
Source package: [psd-tools]
Details (2)
1.9.24+dfsg.1-1· amd64 · bookwormAffected
dsa · psd-tools · debian · bookworm; dsa · psd-tools · debian · 12
1.9.24+dfsg.1-1· arm64 · bookwormAffected
dsa · psd-tools · debian · bookworm; dsa · psd-tools · debian · 12
- [python3-psd-tools-doc]Affected
Source package: [psd-tools]
Details (2)
1.9.24+dfsg.1-1· all · bookwormAffected
dsa · psd-tools · debian · bookworm; dsa · psd-tools · debian · 12
1.9.24+dfsg.1-1· all · bookwormAffected
dsa · psd-tools · debian · bookworm; dsa · psd-tools · debian · 12
[Debian 13 (Trixie)]
- [python3-psd-tools]Affected
Source package: [psd-tools]
Details (2)
1.10.7+dfsg.1-1+deb13u1· amd64 · trixieAffected
dsa · psd-tools · debian · 13
1.10.7+dfsg.1-1+deb13u1· arm64 · trixieAffected
dsa · psd-tools · debian · 13
- [python3-psd-tools-doc]Affected
Source package: [psd-tools]
Details (2)
1.10.7+dfsg.1-1+deb13u1· all · trixieAffected
dsa · psd-tools · debian · 13
1.10.7+dfsg.1-1+deb13u1· all · trixieAffected
dsa · psd-tools · debian · 13
Observed:
References
- [https://github.com/advisories/GHSA-8q6g-vjhf-jp8m]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59991]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59991]
- [https://security-tracker.debian.org/tracker/CVE-2026-59991]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]