๐Ÿ” CVE Alert

CVE-2026-40345

UNKNOWN 0.0

deepmerge-ts: Stack exhaustion when merging recursive object graphs

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. Prior to 8.0.0, the deepmerge, deepmergeCustom, deepmergeInto, and deepmergeIntoCustom APIs do not track visited objects or object pairs when recursively merging records. When two input values contain self-references at the same property path, the merge logic repeatedly revisits the same pair until Node.js raises RangeError: Maximum call stack size exceeded. Applications that merge attacker-controlled recursive object graphs can synchronously crash the affected process or cause repeated worker restarts. Plain JSON input alone cannot create the recursive graph required to trigger the issue. This issue is fixed in version 8.0.0.

CWE CWE-674
Vendor rebeccastevens
Product deepmerge-ts
Published Aug 20, 2026
Stay Ahead of the Next One

Get instant alerts for rebeccastevens deepmerge-ts

Be the first to know when new unknown vulnerabilities affecting rebeccastevens deepmerge-ts are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

RebeccaStevens / deepmerge-ts
< 8.0.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-ggr8-5vv4-36mx github.com: https://github.com/RebeccaStevens/deepmerge-ts/pull/707 github.com: https://github.com/RebeccaStevens/deepmerge-ts/commit/398492757b3f22a0d7d89b09ce1ae9cd32806c9a github.com: https://github.com/RebeccaStevens/deepmerge-ts/releases/tag/v8.0.0