psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| psd-tools | psd-tools | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Psd-tools | Psd-tools |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-8q6g-vjhf-jp8m | psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.517% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Psd-tools
Psd-tools psd-tools |
|
| Vendors & Products |
Psd-tools
Psd-tools psd-tools |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry | |
| Weaknesses | CWE-789 | |
| References |
| |
| Metrics |
cvssV3_1
|