{"id":"CVE-2026-78659","published":"2026-10-08T22:53:58Z","modified":"2026-10-09T15:34:24Z","title":"HTTP/2 server memory exhaustion due to Trailer headers in net/http","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01005,"percentile":0.61907,"provenance":"source"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"references":[{"url":"https://go.dev/cl/847185","tags":[]},{"url":"https://go.dev/cl/847314","tags":[]},{"url":"https://go.dev/issue/81857","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6603","tags":[]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":12.38},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.26.9"]},{"vendor":"Go standard library","product":"net/http/internal/http2","versions":[">= 1.27.0-0, < 1.27.2"]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/http2","versions":["< 0.60.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-09T15:27:33.510545Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.26.9",">=1.27.0-0, <1.27.2"],"patched":["1.26.9","1.27.2"],"from":["GO-2026-6603"],"provenance":"source"},{"ecosystem":"Go","package":"golang.org/x/net","vulnerableRanges":["<0.60.0"],"patched":["0.60.0"],"from":["GO-2026-6603"],"provenance":"source"}],"summary":{"text":"A flaw in the net/http package of the Go standard library causes HTTP/2 servers to allocate memory disproportionately when a client sends a Trailer header declaring many fields, because each entry in the resulting Request.Trailer map adds overhead. An attacker with network access and no authentication or user interaction can exhaust server memory by sending such requests, and the limits that would normally cap header size and count do not apply to this path; HTTP/1 servers are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:57Z"},"euvd":{"id":"EUVD-2026-95419","exploited":false,"provenance":"source"}}