Node.jsのTLSサーバーに遠隔から不正な終了を起こされる脆弱性
Summary
認証なしの遠隔の攻撃者が、TLSサーバーを動かすNode.jsのプロセスを止められる脆弱性です。影響を受けるのは24.22.3より前の24.x系と、26.13.1より前の26.x系です。修正版は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.
認証なしの遠隔の攻撃者が、TLSサーバーを動かすNode.jsのプロセスを止められる脆弱性です。影響を受けるのは24.22.3より前の24.x系と、26.13.1より前の26.x系です。修正版は24.22.3と26.13.1で、更新して対応してください。
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-126051 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-126051 nodejs26, nodejs24 Fix available
- Debian DEBIAN-CVE-2026-126051 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-126051 nodejs No fixed version in this record
Original description The description as published by the source.
A deferred-callback use-after-destroy in Node.js TLS server handshake handling allows a remote, unauthenticated attacker to terminate the server process. When a TLS server uses any of the SNICallback, OCSPRequest, newSession, or resumeSession hooks, or server.addContext(), the corresponding OpenSSL callbacks are deferred, and the deferred code does not handle the underlying socket being destroyed between scheduling and execution. By sending a client hello that reaches the vulnerable path (for example, no SNI together with an OCSP request) followed by padding and a socket FIN, an attacker makes OpenSSL deliver the client hello and the end-of-file in the same tick, so the socket is destroyed before the deferred callback runs and the process raises an uncaught exception instead of emitting an 'error' event. 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