7.5high
HTTP/2 server memory exhaustion due to Trailer headers in net/http
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.85% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-6603BIT-GOLANG-2026-78659
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| net/http | before 1.26.9 | CVE List |
| net/http/internal/http2 | from 1.27.0-0 before 1.27.2 | CVE List |
| golang.org/x/net/http2 | before 0.60.0 | CVE List |
| stdlib (Go) | before 1.26.9, from 1.27.0-0 before 1.27.2 | Go Vulnerability Database |
| golang.org/x/net (Go) | before 0.60.0 | Go Vulnerability Database |
| golang (Bitnami) | before 1.26.9, from 1.27.0-0 before 1.27.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78659 changed 2026-10-09 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-6603 changed 2026-12-01 | CC-BY-4.0 |
| NVD | CVE-2026-78659 changed 2026-10-09 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2026-78659 changed 2026-10-16 | Apache-2.0 |