Skip to content
RedCVE

CVE-2026-78659GO Standard Library Net/http vulnerability

CVSS score

7.5

High

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

0.85%

0.85% chance of exploitation in the next 30 days, higher than 59.1% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security@golang.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Go standard library Net/http/internal/http2, Golang.org/x/net/http2 and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Net/http to 1.26.9, 1.27.2 or later, on the branch you run.
    • Update Golang.org/x/net/http2 to 0.60.0 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
Go standard library Net/http< 1.26.9
Go standard library Net/http/internal/http2≥ 1.27.0-0, < 1.27.2
golang.org/x/net Golang.org/x/net/http2< 0.60.0

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-78659 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.9% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-78659?

CVE-2026-78659 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

GO Standard Library Net/http (< 1.26.9), GO Standard Library Net/http/internal/http2 (≥ 1.27.0-0, < 1.27.2), Golang Org X Net Golang.org/x/net/http2 (< 0.60.0)

Is there a patch for CVE-2026-78659?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.