Live threats

All CVEs / psd-tools

CVE-2026-59991psd-tools

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Sep 22, 2026
Updated
Sep 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-789
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for psd-tools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI psd-tools < 1.17.4 1.17.4 pip install "psd-tools>=1.17.4"
PyPI psd-tools < 1.17.4 1.17.4 pip install "psd-tools>=1.17.4"

Per OSV / GitHub Advisories (GHSA-8q6g-vjhf-jp8m, PYSEC-2026-4139). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.