Node.js is vulnerable to a heap buffer overflow in HTTP/2 session.altsvc() via a long origin (nodejs node)

CVE-2026-123828
MEDIUM 5.9

En bref

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

Description

A one-byte heap buffer overflow in Node.js HTTP/2 Alt-Svc handling lets a remote, unauthenticated attacker corrupt process memory. When an application passes an attacker-controlled value such as a request's :authority header to Http2Session.altsvc(), the AltSvc implementation in src/node_http2.cc allocates a buffer sized to the origin length and then writes it with a null terminator, placing one byte past the end of the allocation. A single request carrying a long but syntactically valid :authority triggers the out-of-bounds write, which aborts the process and serves as a remote heap-corruption primitive. This vulnerability affects Node.js 26.x and 24.x.

Faiblesses (CWE)

  • CWE-122 — Débordement de tampon sur le tas

Crédits

  • zonduu signalement
  • mcollina développement du correctif
  • UlisesGascon relecture du correctif
  • pimterry relecture 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