Node.jsのHTTP/2に解放後使用の脆弱性、サーバーのメモリが壊される恐れ
Summary
Node.jsのHTTP/2で解放後使用の脆弱性が見つかり、認証なしの遠隔からサーバーのメモリを壊される恐れがあります。影響するのは24.22.3未満の24系と、26.13.1未満の25系以降で、24.22.3と26.13.1で修正されています。アプリがrespondWithFile()やrespondWithFD()でファイルを配信している場合は、修正版への更新を急いでください。
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で解放後使用の脆弱性が見つかり、認証なしの遠隔からサーバーのメモリを壊される恐れがあります。影響するのは24.22.3未満の24系と、26.13.1未満の25系以降で、24.22.3と26.13.1で修正されています。アプリがrespondWithFile()やrespondWithFD()でファイルを配信している場合は、修正版への更新を急いでください。
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-123874 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-123874 nodejs26, nodejs24, nodejs22 Fix available
- Debian DEBIAN-CVE-2026-123874 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123874 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 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).
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