Node.js is vulnerable to an HTTP/2 memory exhaustion denial of service via unaccounted inbound DATA on an undrained stream
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-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 |
| 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 |
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-123868 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-123868 nodejs26, nodejs24, nodejs22 Fix available
- Debian DEBIAN-CVE-2026-123868 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123868 nodejs No fixed version in this record
Original description The description as published by the source.
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.
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