Security mailing lists by PureSourceCode

CVE-2026-59991

HIGH 7.5CVSS 3.1

psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry

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.

Published
22 Sep 2026
Last modified
1 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-789
Also known as
GHSA-8q6g-vjhf-jp8mPYSEC-2026-4139
Sources
NVDJSONOSV GHSA-8q6g-vjhf-jp8mJSONOSV PYSEC-2026-4139JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI psd-tools < 1.17.4 1.17.4

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 22 Sep 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.