Summary
Vulnerability in ngtcp2 (CVE-2026-40170). Risk of unauthorized operations or information disclosure. Exploitable via ngtcp2_conn_set_remote_transport_params.
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
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
ngtcp2の以前のバージョンは、バッファの範囲外への書き込みが可能なスタックバッファオーバーフローの脆弱性を持っています。この問題は、IETF QUICプロトコルの実装に影響を及ぼし、特にqlogが有効な場合に発生します。対策としては、バージョン1.22.1へのアップグレードや、クライアントでのqlogの無効化が推奨されます。
スタックバッファオーバーフローの脆弱性
ngtcp2のバージョン1.22.1未満
リモートのピアによる攻撃が可能で、システムに深刻な影響を与える可能性があるため、重大です。
ngtcp2をバージョン1.22.1にアップグレードするか、qlogをクライアント上で無効にする。
クライアントでqlogを無効にする。
バージョンを確認し、1.22.1未満のngtcp2を使用している場合には影響を受ける可能性が高い。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2026-40170 ngtcp2 Fixed in: 1.5.0-r1
- Debian DEBIAN-CVE-2026-40170 ngtcp2 Fixed in: 0.12.1+dfsg-1+deb12u1
- Ubuntu UBUNTU-CVE-2026-40170 ngtcp2
References
- exploit github.com
- exploit openwall.com
- patch security-advisories@github.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com