P3 · MediumCVSS 5.9EPSS 0.5%
HTTP/1 server crash due to MaxBytesReader header race in net/http
- CVE-2026-97054
- GHSA-rg98-f588-44xg
- BIT-golang-2026-97054
- GO-2026-6859
- EUVD-2026-123113
Description
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.
Text from the CVE.org record.
Affected
Go standard library net/http
- before 1.26.11
- from 1.27.0-0 to before 1.27.4
stdlibGo
- all versions, fixed in 1.26.11
- from 1.27.0-0, fixed in 1.27.4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.