{
  "id": "CVE-2026-59991",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59991",
  "published_at": "2026-09-22T19:11:38.661Z",
  "title": "psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry",
  "vendor": "psd-tools",
  "product": "psd-tools",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-789",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "psd-tools",
        "product": "psd-tools",
        "ranges": [
          "\u003c 1.17.4"
        ],
        "fixed_in": [
          "1.17.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade psd-tools to 1.17.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/psd-tools/psd-tools/commit/a3d9a53ad51e667b5772a4f636ca6f2e16f4b271"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/psd-tools/psd-tools/releases/tag/v1.17.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
