quic-go projectのquic-goにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
タイトル quic-go projectのquic-goにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
概要

quic-goはGo言語で実装されたQUICプロトコルの実装です。バージョン0.59.1以前では、攻撃者がQPACKでエンコードされたHEADERSフレームを送信し、大量のユニークなフィールド名や大きな値を持つ大きなトレーラーフィールドセクションにデコードされることにより、quic-goのHTTP/3クライアントおよびサーバー実装で過剰なメモリ割り当てが引き起こされる可能性があります。この実装は対応するhttp.Requestまたはhttp.Responseのためにhttp.Headerを構築しますが、QPACK圧縮されたHEADERSフレームのサイズにのみ制限を設けており、デコード後のフィールドセクションのサイズには制限を設けていません。これによりメモリ枯渇が発生する可能性があります。不正または悪意のあるピアは過剰なメモリ割り当てを引き起こすことでquic-goのHTTP/3サーバーまたはクライアントに対してサービス拒否(DoS)攻撃を実行でき、クラッシュやリソース枯渇を招く恐れがあります。対称的なヘッダー構築のため、サーバーとクライアントの両方に影響を与えます。バージョン0.59.1ではトレーラーのRFC 9114に基づいたデコード後のフィールドセクションサイズの制限が追加されました。QPACKエントリを逐次的にデコードし、各エントリの後にフィールドセクションのサイズをチェックし、制限を超えた場合はストリームを中止します。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月4日0:00
登録日 2026年6月8日12:31
最終更新日 2026年6月8日12:31
CVSS3.0 : 重要
スコア 7.5
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
quic-go project
quic-go 0.59.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月08日]
  掲載
2026年6月8日12:31

NVD脆弱性情報
CVE-2026-40898
概要

quic-go is an implementation of the QUIC protocol in Go. Prior to version 0.59.1, an attacker can cause excessive memory allocation in quic-go's HTTP/3 client and server implementations by sending a QPACK-encoded HEADERS frame that decodes into a large trailer field section with many unique field names and/or large values. The implementation builds an `http.Header` for the corresponding `http.Request` or `http.Response`, while only enforcing limits on the size of the QPACK-compressed HEADERS frame, not on the decoded field section. This can lead to memory exhaustion. This is very similar to CVE-2025-64702. The difference is that this issue uses HTTP trailers, rather than HTTP headers, as the attack vector. A misbehaving or malicious peer can cause a denial-of-service (DoS) attack against quic-go's HTTP/3 servers or clients by triggering excessive memory allocation, potentially leading to crashes or resource exhaustion. This affects both servers and clients due to symmetric header construction. Version 0.59.1 enforces RFC 9114 decoded field section size limits for trailers as well. It incrementally decodes QPACK entries and checks the field section size after each entry, aborting the stream if an entry causes the limit to be exceeded.

公表日 2026年6月5日4:16
登録日 2026年6月6日4:09
最終更新日 2026年6月6日1:01
関連情報、対策とツール
共通脆弱性一覧