Node.jsのHTTPSで別の接続のメモリが漏えいする脆弱性
Summary
HTTPSサーバーで、ほかの接続のメモリが攻撃者に読み取られるおそれがある脆弱性です。TLS秘密鍵や他ユーザーのリクエスト内容が漏えいするおそれがあり、CVSSは8.1です。影響を受けるのはNode.js 22.23.5未満、24.22.3未満、26.13.1未満で、22.23.5、24.22.3、26.13.1以降の修正版への更新が必要です。平文のnode:httpは影響を受けません。
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.
HTTPSサーバーで、ほかの接続のメモリが攻撃者に読み取られるおそれがある脆弱性です。TLS秘密鍵や他ユーザーのリクエスト内容が漏えいするおそれがあり、CVSSは8.1です。影響を受けるのはNode.js 22.23.5未満、24.22.3未満、26.13.1未満で、22.23.5、24.22.3、26.13.1以降の修正版への更新が必要です。平文のnode:httpは影響を受けません。
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-123864 nodejs-current, nodejs, llhttp Fix available
- BellSoft Alpaquita BELL-CVE-2026-123864 nodejs26, nodejs24, nodejs22 +1 more Fix available
- Debian DEBIAN-CVE-2026-123864 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123864 nodejs No fixed version in this record
Original description The description as published by the source.
A re-entrancy flaw in Node.js HTTPS lets an unauthenticated client read memory belonging to other connections, including TLS private keys and other users' requests. TLSWrap::DoWrite() calls ClearOut() directly when asked to write zero bytes; if that write is issued from JavaScript running inside the HTTP parser's on_body callback, ClearOut() decrypts the next TLS record while the parser is still mid-body, re-entering llhttp_execute() and causing a use-after-free and an out-of-bounds heap read. The server then copies that freed or unrelated heap memory into the response for the request body. Triggering it requires a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk, and reading the leaked memory requires any ordinary route that echoes or stores a request body. Cleartext node:http is not affected. 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