freenode

← CVE tracker

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

On the lists