Resource exhaustion in Quic-Go
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (39.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Quic-Go — versions < 0.59.1
- Quic-Go Project
Weakness classification (CWE)
References
- github.com/quic-go/quic-go/security/advisories/GHSA-vvgj-x9jq-8cj9 (Mitigation, Vendor Advisory)
- github.com/quic-go/quic-go/releases/tag/v0.59.1 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-40898?
- CVE-2026-40898 is a medium-severity vulnerability in Quic-Go, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 5.3/10. Published 2026-06-04.
- How severe is CVE-2026-40898?
- Medium severity. CVSS v3 base score is 5.3 out of 10.