THREATOPS
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

highgithub_advisoriesPublished 2026-09-22

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

Original source: https://github.com/advisories/GHSA-8q6g-vjhf-jp8m