1. Accueil
  2. Vulnérabilités
  3. CVE-2026-12151

CVE-2026-12151

Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a…

Publiée le 17 juin 2026 · modifiée le 11 sept. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 47/100

Résumé

Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service. Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. All releases starting at undici 6.17.0 are affected. Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Nodejs (3 ligne(s))
Nodejs
ProduitVersionsCorrigé dansSource
Undici de 6.17.0 (inclus) à 6.27.0 (exclu) — NVD
Undici de 7.0.0 (inclus) à 7.28.0 (exclu) — NVD
Undici de 8.0.0 (inclus) à 8.5.0 (exclu) — NVD
npm (3 ligne(s))
npm
ProduitVersionsCorrigé dansSource
undici avant 6.27.0 (exclu) 6.27.0 GitHub Advisory
undici de 7.0.0 (inclus) à 7.28.0 (exclu) 7.28.0 GitHub Advisory
undici de 8.0.0 (inclus) à 8.5.0 (exclu) 8.5.0 GitHub Advisory

Correctif

Mise à jour — npm/undici 6.27.0; npm/undici 7.28.0; npm/undici 8.5.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:ce714d77-add3-4f53-aff5-83d477b104bb)
Faiblesse
CWE-400 · Autre (CWE-400)

Comment sont obtenues et calculées ces données