VYPR
High severity7.5GHSA Advisory· Published Sep 22, 2026· Updated Sep 23, 2026

CVE-2026-59991

CVE-2026-59991

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
psd-toolsPyPI
< 1.17.41.17.4

Affected products

2
  • psd-tools/Psd ToolsGHSA2 versions
    < 1.17.4+ 1 more
    • (no CPE)range: < 1.17.4
    • (no CPE)range: <=1.17.2

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.