PatchSiren cyber security CVE debrief
CVE-2026-40345 RebeccaStevens CVE debrief
CVE-2026-40345 is a high-severity vulnerability in the deepmerge-ts library, which can cause synchronous crashes or repeated worker restarts when merging attacker-controlled recursive object graphs. This issue arises from the library's failure to track visited objects or object pairs during recursive merging, leading to a RangeError: Maximum call stack size exceeded. Developers and administrators using deepmerge-ts versions prior to 8.0.0 should assess exposure and prioritize remediation to prevent potential denial-of-service (DoS) attacks.
- Vendor
- RebeccaStevens
- Product
- deepmerge-ts
- CVSS
- HIGH 8.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-20
- Original CVE updated
- 2026-09-18
- Advisory published
- 2026-08-20
- Advisory updated
- 2026-09-18
Who should care
Developers and administrators using deepmerge-ts versions prior to 8.0.0 should assess exposure and prioritize remediation. This includes reviewing the affected versions, verifying if applications merge attacker-controlled recursive object graphs, and updating to version 8.0.0 or later. Security teams and vulnerability management teams should also be aware of the potential impact and take necessary actions to mitigate the vulnerability.
Why it matters
CVE-2026-40345 is a high-severity vulnerability in the deepmerge-ts library that can cause synchronous crashes or repeated worker restarts. Developers and administrators using affected versions should assess exposure and prioritize remediation.
- Synchronous process crash or repeated worker restarts
- Potential for denial-of-service (DoS) attacks
- Need for verification of affected versions and exposure
- Remediation priority for applications using deepmerge-ts versions prior to 8.0.0
Technical summary
The deepmerge-ts library, prior to version 8.0.0, does not track visited objects or object pairs when recursively merging records. This oversight can lead to a RangeError: Maximum call stack size exceeded when merging attacker-controlled recursive object graphs. The vulnerability is caused by the deepmerge, deepmergeCustom, deepmergeInto, and deepmergeIntoCustom APIs not tracking visited objects or object pairs during recursive merging. Applications that merge attacker-controlled recursive object graphs can synchronously crash the affected process or cause repeated worker restarts.
Defensive priority
High
Recommended defensive actions
- Assess exposure and prioritize remediation for applications using deepmerge-ts versions prior to 8.0.0
- Verify if applications merge attacker-controlled recursive object graphs
- Update to version 8.0.0 or later
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by the deepmerge, deepmergeCustom, deepmergeInto, and deepmergeIntoCustom APIs not tracking visited objects or object pairs when recursively merging records. This can lead to a RangeError: Maximum call stack size exceeded.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-40345 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-40345
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-40345 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40345
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/RebeccaStevens/deepmerge-ts/commit/398492757b3f22a0d7d89b09ce1ae9cd32806c9a
-
Source reference
Unverified legacy reference
URL: https://github.com/RebeccaStevens/deepmerge-ts/pull/707
-
Source reference
Unverified legacy reference
URL: https://github.com/RebeccaStevens/deepmerge-ts/releases/tag/v8.0.0
-
Source reference
Unverified legacy reference
URL: https://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-ggr8-5vv4-36mx
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.