0.0
NA
CVE-2026-78659
HTTP/2 server memory exhaustion due to Trailer headers in net/http
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.

INFO

Published Date :

Oct. 8, 2026, 11:17 p.m.

Last Modified :

Oct. 8, 2026, 11:17 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-78659 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Golang net
Solution
Limit the number of trailer headers processed to prevent excessive memory allocation.
  • Configure server to limit trailer header fields.
  • Update HTTP server software to the latest version.
  • Restrict the number of trailer fields processed.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-78659.

URL Resource
https://go.dev/cl/847185
https://go.dev/cl/847314
https://go.dev/issue/81857
https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs
https://pkg.go.dev/vuln/GO-2026-6603
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-78659 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-78659 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-78659 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-78659 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Oct. 08, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/78xxx/CVE-2026-78659.json">CVE-2026-78659</a>
    Added Reference https://go.dev/cl/847185
    Added Reference https://go.dev/cl/847314
    Added Reference https://go.dev/issue/81857
    Added Reference https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
    Added Reference https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs
    Added Reference https://pkg.go.dev/vuln/GO-2026-6603
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.