Skip to content
High 7.5

Node.js にHTTP/2の接続処理で、メモリとファイル記述子が解放されない脆弱性

CVE-2026-123865 First seen on SecPulse

Summary

認証のいらない遠隔の攻撃者が、HTTP/2の接続を終了の途中で不正なフレームを送って、Node.jsのサーバーのメモリとファイル記述子を解放されないまま残すことができます。影響を受けるのは、Node.js 22.23.5より前の22系、24.22.3より前の24系、26.13.1より前の26系です。修正版の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.

認証のいらない遠隔の攻撃者が、HTTP/2の接続を終了の途中で不正なフレームを送って、Node.jsのサーバーのメモリとファイル記述子を解放されないまま残すことができます。影響を受けるのは、Node.js 22.23.5より前の22系、24.22.3より前の24系、26.13.1より前の26系です。修正版の22.23.5、24.22.3、26.13.1への更新が必要です。

Affected packages

PackageAffected → 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
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
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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

An unauthenticated HTTP/2 client can permanently leak Node.js server memory and file descriptors. If a peer triggers a protocol error, for example an oversized frame header, while the session is already shutting down, nghttp2 tears the session down internally but Node.js never notices, leaving a dangling session: the socket stays in CLOSE_WAIT and all of Node.js's HTTP/2 state for that connection is held in memory indefinitely, with no further cost to the attacker. The attacker can start the shutdown remotely by sending GOAWAY(NO_ERROR), so it is reliable against default HTTP/2 servers. It is an incomplete-fix case of CVE-2026-48937: that fix detected nghttp2 internal terminations by watching for GOAWAY sent while not shutting down, but missed terminations that arrive while the session is already shutting down. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

Source: Node.js Security Releases NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details