CVE-2026-97054: HTTP/1 server crash due to MaxBytesReader header race in net/http
Published 2026-11-11 · Updated 2026-11-27 · Also known as BIT-golang-2026-97054, GO-2026-6859
Summary
A race condition in the net/http package's MaxBytesReader can cause HTTP/1 server crashes when headers are modified concurrently. Go developers using MaxBytesReader or MaxBytesHandler should update their runtime to the specified fixed versions.
Who is affected
The vulnerability affects Go applications using the standard library's HTTP/1 server components. A crash occurs when an application handler concurrently reads a request body and writes response headers while the MaxBytesReader limit is exceeded, triggering an unsynchronized update of the 'Connection: close' header.
Exploitability
The severity and CVSS vector are not documented, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score of 0.005 suggests a low probability of exploitation in the wild.
Remediation
- Upgrade Go standard library to version 1.26.11 or later.
- If using the 1.27.x branch, upgrade to version 1.27.4 or later.
How to check your project
- Inspect the go.mod file or output of 'go version' to confirm the current Go toolchain version.
- Review application code to identify the use of 'http.MaxBytesReader' or 'http.MaxBytesHandler' within HTTP/1 server request handlers.
Automated analysis of the published advisory data, generated 2026-11-27. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | stdlib |
>= 0, < 1.26.11 | 1.26.11 | go get [email protected] |
| Go | stdlib |
>= 1.27.0-0, < 1.27.4 | 1.27.4 | go get [email protected] |
FAQ
Does this impact HTTP/2 servers?
The description specifically identifies this as an issue for HTTP/1 servers.
Is this vulnerability actively being exploited?
No, it is not listed in the CISA Known Exploited Vulnerabilities catalog.
What is the technical cause of the crash?
A runtime panic occurs due to an unsynchronized race condition when the 'Connection: close' header is set while a handler concurrently writes response headers.
Original advisory description
References
- FIX https://go.dev/cl/862185
- REPORT https://go.dev/issue/82563
- WEB https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
Source records: GO-2026-6859 (OSV.dev) · EPSS by FIRST, 2026-11-27.