{"cve":"CVE-2026-59991","nvd":{"published":"2026-09-22T20:17:04.123","modified":"2026-09-23T18:12:04.247","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-789"],"references":["https://github.com/psd-tools/psd-tools/commit/a3d9a53ad51e667b5772a4f636ca6f2e16f4b271","https://github.com/psd-tools/psd-tools/releases/tag/v1.17.4","https://github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m","https://github.com/psd-tools/psd-tools/security/advisories/GHSA-8q6g-vjhf-jp8m"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:56:02.509636177+00:00"},"epss":{"cve":"CVE-2026-59991","score":0.00517,"percentile":0.44036,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8q6g-vjhf-jp8m","url":"https://osv.dev/vulnerability/GHSA-8q6g-vjhf-jp8m","summary":"psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry","modified":"2026-10-01T17:56:13.306457211Z","packages":[{"ecosystem":"PyPI","name":"psd-tools","purl":"pkg:pypi/psd-tools","ranges":["<1.17.4"],"fixed":["1.17.4"]}]},{"id":"PYSEC-2026-4139","url":"https://osv.dev/vulnerability/PYSEC-2026-4139","summary":"psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry","modified":"2026-10-01T17:45:16.013433116Z","packages":[{"ecosystem":"PyPI","name":"psd-tools","purl":"pkg:pypi/psd-tools","ranges":["<1.17.4"],"fixed":["1.17.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}