Node.jsのHTTP/2処理に脆弱性、応答データの一部が漏えいするおそれ
Summary
Node.jsのHTTP/2のストリーム終了処理で解放済みのメモリを参照する問題があり、ほかの接続の応答データを含むメモリ内容が通信相手に送られるおそれがあります。影響を受けるのは22.23.5より前の22.x、24.22.3より前の24.x、26.13.1より前の26.xです。22.23.5、24.22.3、26.13.1の修正版で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Node.jsのHTTP/2のストリーム終了処理で解放済みのメモリを参照する問題があり、ほかの接続の応答データを含むメモリ内容が通信相手に送られるおそれがあります。影響を受けるのは22.23.5より前の22.x、24.22.3より前の24.x、26.13.1より前の26.xです。22.23.5、24.22.3、26.13.1の修正版で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nodejsnode |
≥ 0.0.0, < 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 24.22.3 26.13.1 |
| Bitnaminode-min |
< 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 24.22.3 26.13.1 |
| Bitnaminode |
< 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 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-123866 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-123866 nodejs26, nodejs24, nodejs22 Fix available
- Debian DEBIAN-CVE-2026-123866 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123866 nodejs No fixed version in this record
Original description The description as published by the source.
A use-after-free in Node.js HTTP/2 stream teardown can leak response memory, including the contents of other connections' response buffers, to a peer. When a stream is torn down while a write is still backpressured, for example by a peer RST_STREAM or by the server's own per-stream timeout destroying the stream, the stream's response buffer is freed but a reference to it is still used, so freed or unrelated heap memory is written to the socket instead of the intended response. On Node.js 26.x and 24.x the teardown can be driven purely by a remote peer once the window-size change from 26.9.0 and 24.22.0 is present, and on all supported lines the same defect is reachable through an application-initiated teardown such as a per-stream idle timeout. This vulnerability affects Node.js 26.x, 24.x, and 22.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