Security mailing lists by PureSourceCode

CVE-2026-78659

HIGH 7.5CVSS 3.1

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

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.

Published
8 Oct 2026
Last modified
2 Dec 2026
Assigned by
security@golang.org
NVD status
Awaiting Analysis
Weakness
CWE-405
Also known as
BIT-golang-2026-78659GO-2026-6603
Sources
NVDJSONOSV GO-2026-6603JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go stdlib < 1.26.9 1.26.9
OSV Go stdlib >= 1.27.0-0, < 1.27.2 1.27.2
OSV Go golang.org/x/net < 0.60.0 0.60.0

References

History

  • 3 Dec 2026 00:30 UTC · OSV: updated (other details)
  • 2 Dec 2026 11:48 UTC · OSV: updated (other details)
  • 1 Dec 2026 11:23 UTC · OSV: updated (other details)
  • 30 Nov 2026 21:58 UTC · OSV: updated (other details)
  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.