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を無効にしてください。
スタックバッファオーバーフローの脆弱性
ngtcp2のバージョン1.22.1未満
リモートのピアによる攻撃が可能で、システムに深刻な影響を与える可能性があるため、重大です。
ngtcp2をバージョン1.22.1にアップグレードするか、qlogをクライアント上で無効にする。
クライアントでqlogを無効にする。
バージョンを確認し、1.22.1未満のngtcp2を使用している場合には影響を受ける可能性が高い。
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-40170 ngtcp2 Fix available
- Debian DEBIAN-CVE-2026-40170 ngtcp2 Fix available
- Ubuntu UBUNTU-CVE-2026-40170 ngtcp2 Fix available
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
- advisory github.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- report bugzilla.redhat.com
- web openwall.com
- web security.access.redhat.com