CVE-2026-40898
quic-go is an implementation of the QUIC protocol in Go. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/quic-go/quic-go/security/advisories/GHSA-vvgj-x9jq-8cj9
- github.com/quic-go/quic-go/pull/5642
- github.com/quic-go/quic-go/commit/c56e8c79d1627cc1ed6005b421b4b0adadd83665
- github.com/advisories/GHSA-g754-hx8w-x2g6
- github.com/quic-go/quic-go/releases/tag/v0.59.1
- github.com/advisories/GHSA-vvgj-x9jq-8cj9
- nvd.nist.gov/vuln/detail/CVE-2026-40898
- nvd.nist.gov/vuln/detail/CVE-2026-40898
- cve.org/CVERecord?id=CVE-2026-40898
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.