PoC Monitor
← All CVEs
CVE-2026-40345published 20 Aug 2026 16:33 UTCData: JSON · API

RebeccaStevens deepmerge-ts

deepmerge-ts: Stack exhaustion when merging recursive object graphs

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.

First public PoC 3.1 days beforebefore publication · 17 Aug 2026
Public PoCs11 on GitHub
CVSS8.2high · scored by CNA · CWE-674
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

RebeccaStevens deepmerge-ts
  • < 8.0.0

Fixed in 8.0.0

Timeline

Days relative to CVE publication
-4-2t=0+2+4+6+8First public PoC17 Aug 2026 · t−3.1dCVE published20 Aug 2026 · t = 0

First public PoC 3.1 days before publication; not in CISA KEV. First PoC: Jvr2022/CVE-2026-40345 (created 17 Aug 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Jvr2022/CVE-2026-40345 17 Aug 2026 −3.1 d 6 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.