Skip to content

golang.org/x/net/http2

HTTP/2 server memory exhaustion due to Trailer headers in net/http

CVE-2026-78659Published 8 Oct 2026, 22:53 UTC

Real-world risk

3.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Go)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
golang.org/x/net/http2Niche< 0.60.00.60.0
net/httpNiche< 1.26.9; >= 1.27.0-0, < 1.27.21.26.9, 1.27.2

What to do

Update to a fixed version: 0.60.0, 1.26.9, 1.27.2.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.9% chance of exploitation in 30 days (percentile 60), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
  4. Rounded to one decimal between 0.1 and 103.4

How the score works

Exploitation and evidence timeline

  1. 8 Oct 2026 Published
  2. 3 Dec 2026 Risk 3.4 (cvss fallback)

Weakness

CWE-405

References

Get alerts for golang.org/x/net/http2

Free email or text alerts when a vulnerability in golang.org/x/net/http2 reaches risk 8 or higher. Nothing else.