CVE-2026-78659
HIGH 7.5CVSS 3.1HTTP/2 server memory exhaustion due to Trailer headers in net/http
When "Trailer" headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the server handler. Because Request.Trailer is a map, each entry incurs memory overhead. For HTTP/2 servers, a malicious client can exploit this by sending a "Trailer" header that declares a large number of fields, causing the server to allocate a disproportionate amount of memory while bypassing Server.MaxHeaderValueCount and Server.MaxHeaderBytes limits. This exploit is not applicable for HTTP/1 servers, which do not support multiplexing a large number of requests over one TCP connection, and whose Server.MaxHeaderBytes are calculated differently.
- Published
- 8 Oct 2026
- Last modified
- 4 Dec 2026
- Assigned by
- security@golang.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-405
- Also known as
- BIT-golang-2026-78659GO-2026-6603
- Sources
- NVDJSONOSV GO-2026-6603JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | stdlib | < 1.26.9 | 1.26.9 |
| OSV | Go | stdlib | >= 1.27.0-0, < 1.27.2 | 1.27.2 |
| OSV | Go | golang.org/x/net | < 0.60.0 | 0.60.0 |
References
- https://go.dev/cl/847185 · FIX
- https://go.dev/cl/847314 · FIX
- https://go.dev/issue/81857 · REPORT
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI · WEB
- https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs · WEB
- https://pkg.go.dev/vuln/GO-2026-6603
History
- 4 Dec 2026 11:09 UTC · OSV: updated (other details)
- 3 Dec 2026 00:30 UTC · OSV: updated (other details)
- 2 Dec 2026 11:48 UTC · OSV: updated (other details)
- 1 Dec 2026 11:23 UTC · OSV: updated (other details)
- 30 Nov 2026 21:58 UTC · OSV: updated (other details)
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Oct 2026)