Node.js is vulnerable to an HTTP/2 memory exhaustion denial of service via unaccounted inbound DATA on an undrained stream (nodejs node)

CVE-2026-123868
MEDIUM 5.9

En bref

Source
NVD
EPSS
EPSS 0.52 % · centile 46 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
openjs
Produits affectés
nodejs · node
Statut NVD
Awaiting Analysis

Description

An unauthenticated HTTP/2 client can exhaust Node.js server memory because inbound DATA queued on an undrained stream is charged to no session budget. Each inbound DATA frame creates one JavaScript Buffer view in the receiving stream's readable queue, but nothing charges that queue to current_session_memory_: the socket read buffer is accounted only during parsing and released immediately, so whatever stays queued is accounted to nothing. A peer that fills a stream's receive window with one-byte DATA frames pays about 10 wire bytes per frame while the server retains about 114 bytes per frame, so a single stream on one connection can retain hundreds of megabytes from tens of megabytes sent. maxSessionMemory neither bounds the growth nor refuses new streams, because Http2Session::CanAddStream gates admission on the same counter that never sees the queue. This vulnerability affects Node.js 26.x and 24.x.

Faiblesses (CWE)

  • CWE-400 — Consommation de ressources non maîtrisée (déni de service)

Crédits

  • jiri1234 signalement
  • mcollina développement du correctif
  • aduh95 coordination

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hopenjs
CVSS 3.0MEDIUM 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
nodejs · node
affectée : ≥ 24.0.0 < 24.22.3
affectée : ≥ 25.0.0 < 26.13.1
Autres versions : non affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD