CVE-2026-78659
JSON

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 packageVersionsReported by
net/httpbefore 1.26.9CVE List
net/http/internal/http2from 1.27.0-0 before 1.27.2CVE List
golang.org/x/net/http2before 0.60.0CVE List
stdlib (Go)before 1.26.9, from 1.27.0-0 before 1.27.2Go Vulnerability Database
golang.org/x/net (Go)before 0.60.0Go Vulnerability Database
golang (Bitnami)before 1.26.9, from 1.27.0-0 before 1.27.2Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-405

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-78659 changed 2026-10-09CVE Terms of Use
Go Vulnerability DatabaseGO-2026-6603 changed 2026-12-01CC-BY-4.0
NVDCVE-2026-78659 changed 2026-10-09Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2026-78659 changed 2026-10-16Apache-2.0