CyberRota Analysis
AI-GeneratedThe psd-tools Python package prior to version 1.17.4 is vulnerable to excessive memory allocation due to insufficient validation of attacker-controlled parameters in the PSD header, potentially leading to denial-of-service conditions. This flaw can cause services that process untrusted PSD files to crash or become unresponsive when handling crafted files. Organizations utilizing psd-tools for image processing, particularly those dealing with untrusted input, should prioritize upgrading to version 1.17.4 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.