THREAT OPS › Threat News › [GHSA] GHSA-8q6g-vjhf-jp8m (high) — psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry
[GHSA] GHSA-8q6g-vjhf-jp8m (high) — psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry
GHSA-8q6g-vjhf-jp8m Severity: high CVE: CVE-2026-59991
psd-tools composite/numpy has uncontrolled memory allocation via crafted PSD geometry
### Summary `PSDImage.composite()` (and `.numpy()`) allocate the output image buffer from the PSD's header geometry (width × height × channels × depth, and per-layer rectangles) before validating those values against the actual file contents. A tiny crafted
Indicators of compromise
- 7d8ebf03a54393cb0359ecf4b676d1b08c9a8c6afdd06671ef406d6893cce826sha256
- CVE-2026-59991cve
Original source: https://github.com/advisories/GHSA-8q6g-vjhf-jp8m