CVE-2026-97054: Go Standard Library Net/http
Medium severity, CVSS 5.9. EPSS: 0.4% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Go Standard Library Net/http, before 1.26.11: fixed in 1.26.11
- Go Standard Library Net/http, from 1.27.0-0, before 1.27.4: fixed in 1.27.4
Affected products
- Go Standard Library Net/http: before 1.26.11 (fixed in 1.26.11); from 1.27.0-0, before 1.27.4 (fixed in 1.27.4)
Affected packages
- stdlib (Go)
Published 2026-11-11. Last modified 2026-11-16.