CVE-2026-40898quic-go: HTTP/3 QPACK Trailer Expansion Memory Exhaustion
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
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-lucas-clemente-quic-go | Fix pending | UBUNTU-CVE-2026-40898 | |
| Ubuntu 26.04 | golang-github-lucas-clemente-quic-go | Under investigation | UBUNTU-CVE-2026-40898 | |
| Ubuntu 25.10 | golang-github-lucas-clemente-quic-go | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-40898 | |
| Ubuntu 24.04 | golang-github-lucas-clemente-quic-go | Under investigation | UBUNTU-CVE-2026-40898 | |
| Ubuntu 22.04 | golang-github-lucas-clemente-quic-go | Under investigation | UBUNTU-CVE-2026-40898 | |
| Debian 14 | golang-github-lucas-clemente-quic-go | Fix pending | DEBIAN-CVE-2026-40898 | |
| Debian 13 | golang-github-lucas-clemente-quic-go | Fix pending | DEBIAN-CVE-2026-40898 | |
| Debian 12 | golang-github-lucas-clemente-quic-go | Fix pending | DEBIAN-CVE-2026-40898 | |
| Go library | github.com/quic-go/quic-go | Fixed | 0.59.1 | GHSA-vvgj-x9jq-8cj9 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- quic-go: affected: < 0.59.1
References
- https://github.com/quic-go/quic-go/security/advisories/GHSA-vvgj-x9jq-8cj9
- https://github.com/quic-go/quic-go/releases/tag/v0.59.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.