THREAT OPS › Threat News › [GHSA] GHSA-ggr8-5vv4-36mx (high) — DeepmergeTS has stack exhaustion when merging recursive object graphs
[GHSA] GHSA-ggr8-5vv4-36mx (high) — DeepmergeTS has stack exhaustion when merging recursive object graphs
GHSA-ggr8-5vv4-36mx Severity: high CVE: CVE-2026-40345
DeepmergeTS has stack exhaustion when merging recursive object graphs
### Summary
`deepmerge()` and `deepmergeInto()` can be crashed with a crafted recursive object graph. When both merged values contain self-references at the same property path, the library recurses until Node throws `RangeError: Maximum call stack size exceeded`.
### Det
Indicators of compromise
- CVE-2026-40345cve
Original source: https://github.com/advisories/GHSA-ggr8-5vv4-36mx