CVE-2026-40345: deepmerge-ts: Stack exhaustion when merging recursive object graphs
RebeccaStevens · deepmerge-ts
Affected: RebeccaStevens deepmerge-ts · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 45% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- RebeccaStevens · deepmerge-ts< 8.0.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- August 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-40345 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-674cwe.mitre.org
- github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-github.com
- github.com/RebeccaStevens/deepmerge-ts/pull/707github.com
- github.com/RebeccaStevens/deepmerge-ts/commit/398492757b3f22a0d7github.com
- github.com/RebeccaStevens/deepmerge-ts/releases/tag/v8.0.0github.com