Node.js is vulnerable to a heap buffer overflow in HTTP/2 session.altsvc() via a long origin
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nodejsnode |
≥ 24.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
24.22.3 26.13.1 |
| Bitnaminode |
≥ 24.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
24.22.3 26.13.1 |
| Bitnaminode-min |
≥ 24.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
24.22.3 26.13.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-123828 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-123828 nodejs26, nodejs24, nodejs22 Fix available
- Debian DEBIAN-CVE-2026-123828 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123828 nodejs No fixed version in this record
Original description The description as published by the source.
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.
Source: Node.js Security Releases NVD GitHub Advisory
References
- REDHAT Red Hat
- web nodejs.org
- web cna.openjsf.org
- web nvd.nist.gov
- web github.com