> CVE-2026-40345 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-20 17:17
MODIFIED
2026-08-20 17:17
CVSS_SCORE V3
8.2
EPSS (Prob. Exploit)
0.52%
Top 56.4%
DATA SOURCES:
NVD đź”— 2026-08-20 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-09-21

> DESCRIPTION

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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-674

> CWE DETAILED DESCRIPTIONS

CWE-674: Uncontrolled Recursion - The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

> GITHUB SECURITY ADVISORY

GHSA-ggr8-5vv4-36mx HIGH

DeepmergeTS has stack exhaustion when merging recursive object graphs

AFFECTED PACKAGES:
NPM / deepmerge-ts
< 8.0.0
Fixed in: 8.0.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

deepmerge-ts: Stack exhaustion when merging recursive object graphs

AFFECTED PACKAGES:
Unknown / Unknown
41 versions affected
ALIASES:
GHSA-ggr8-5vv4-36mx

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2026 17:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-674: Uncontrolled Recursion - The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/RebeccaStevens/deepmerge-ts/commit/398492757b3f22a0d7d89b09ce...
https://github.com/RebeccaStevens/deepmerge-ts/pull/707
https://github.com/RebeccaStevens/deepmerge-ts/releases/tag/v8.0.0
https://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-ggr8-5vv...
« BACK_TO_HOME