CVE-2026-97054
HTTP/1 server crash due to MaxBytesReader header race in net/http
- Severity
- medium CVSS 5.9 (v3.1)
- Affects
- net/http · Go standard library
- Weakness
- CWE-820 Missing Synchronization
- Published
- 11 November 2026 by Go
- First seen on our lists
- 5 November 2026
For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.
Our coverage
- Go ships 12 security fixes, including a server crash and build-time code execution
- Go patches build-time code execution and HTTP crash
- Go 1.27.4 and 1.26.11 security releases set for November 10
On the lists
- [oss-security] Go 1.27.4 and Go 1.26.11 are released with 12 security fixes
- [golang-dev] [security] Go 1.27.4 and Go 1.26.11 are released
- [go-nuts] [security] Go 1.27.4 and Go 1.26.11 are released
- [oss-security] Fwd: Go 1.27.4 and Go 1.26.11 pre-announcement
- [golang-dev] [security] Go 1.27.4 and Go 1.26.11 pre-announcement
- [go-nuts] [security] Go 1.27.4 and Go 1.26.11 pre-announcement