CVE-2026-59991
published high CVSS 3.1 · 7.5psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| psd-tools | — | psd-tools< 1.17.4 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| psd-tools | psd-tools | < 1.17.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
3Provider assertions
2GitHub_M · cna
psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 98a1d7d5d2bedd685054ecd92e79fc4a45943ebca09bda40a43b0ac5499c2ace
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record