# CVE-2026-78659: HTTP/2 server memory exhaustion due to Trailer headers in net/http

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-10-08T22:31:09.000Z
- Modified: 2026-12-01T10:27:31.179Z
- Also known as: GO-2026-6603, BIT-GOLANG-2026-78659
- Related: RHSA-2026:102979, RHSA-2026:102980, RHSA-2026:103451, RHSA-2026:104766, RHSA-2026:104767, RHSA-2026:104768, RHSA-2026:104769, RHSA-2026:104778, RHSA-2026:104779, RHSA-2026:86093, RHSA-2026:86196, RHSA-2026:86203, RHSA-2026:87040, RHSA-2026:87041, RHSA-2026:87042, RHSA-2026:87043, RHSA-2026:87245, RHSA-2026:87246, RHSA-2026:90994
- Weaknesses: CWE-405
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

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

(As written by CVE List.)

## Affected

- net/http: before 1.26.9
- net/http/internal/http2: from 1.27.0-0 before 1.27.2
- golang.org/x/net/http2: before 0.60.0
- stdlib (Go): before 1.26.9; from 1.27.0-0 before 1.27.2
- golang.org/x/net (Go): before 0.60.0
- golang (Bitnami): before 1.26.9; from 1.27.0-0 before 1.27.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/cl/847185> (fix, web)
- <https://go.dev/cl/847314> (fix, web)
- <https://go.dev/issue/81857> (report, web)
- <https://groups.google.com/g/golang-announce/c/U2fTuyDJznI> (web)
- <https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs> (web)
- <https://pkg.go.dev/vuln/GO-2026-6603> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-78659> (web)

## Sources

- CVE List: [CVE-2026-78659](https://www.cve.org/CVERecord?id=CVE-2026-78659), CVE Terms of Use, modified 2026-10-09
- Go Vulnerability Database: [GO-2026-6603](https://pkg.go.dev/vuln/GO-2026-6603), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-78659](https://nvd.nist.gov/vuln/detail/CVE-2026-78659), Public domain, modified 2026-10-09
- Bitnami Vulnerability Database: [BIT-GOLANG-2026-78659](https://osv.dev/vulnerability/BIT-GOLANG-2026-78659), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-78659 · Whole record: https://cve.day/CVE-2026-78659.json · Rebuilt by cve.day 2026-12-01T10:37:24.746Z
