Skip to content

Vulnerability in ngtcp2

CVE-2026-40170 First seen on SecPulse

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.

ngtcp2で、qlogを有効にした環境において、遠隔の通信相手が大きなトランスポートパラメータを送ることでスタックバッファオーバーフローが発生するおそれがあります。影響を受けるのは1.22.1より前のバージョンです。1.22.1以降にアップグレードしてください。すぐに更新できない場合は、クライアント側でqlogを無効にしてください。

What is the problem

スタックバッファオーバーフローの脆弱性

Affected scope

ngtcp2のバージョン1.22.1未満

Severity

リモートのピアによる攻撃が可能で、システムに深刻な影響を与える可能性があるため、重大です。

How to fix

ngtcp2をバージョン1.22.1にアップグレードするか、qlogをクライアント上で無効にする。

Workaround

クライアントでqlogを無効にする。

Detection

バージョンを確認し、1.22.1未満のngtcp2を使用している場合には影響を受ける可能性が高い。

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.

ngtcp2 is a C implementation of the IETF QUIC protocol. In versions prior to 1.22.1, ngtcp2_qlog_parameters_set_transport_params() serializes peer transport parameters into a fixed 1024-byte stack buffer without bounds checking. When qlog is enabled, a remote peer can send sufficiently large transport parameters during the QUIC handshake to cause writes beyond the buffer boundary, resulting in a stack buffer overflow. This affects deployments that enable the qlog callback and process untrusted peer transport parameters. This issue has been fixed in version 1.22.1. If developers are unable to immediately upgrade, they can disable the qlog on client.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

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