Vulnerability GO-2026-6859

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
5 hours ago
November 11, 2026 at 02:51 AM UTC
HTTP/1 server crash due to MaxBytesReader header race in net/http
<1.26.11, >=1.27.0-0 <1.27.4
<1.26.11, >=1.27.0-0 <1.27.4

Summary

HTTP/1 server crash due to MaxBytesReader header race in net/http

Details

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.

Impacted packages

Timeline

Published
5 hours ago
November 11, 2026 at 02:51 AM UTC
Last Modified
5 hours ago
November 11, 2026 at 03:15 AM UTC