CVE-2026-97054

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

Published Nov 11, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-632
Type Values Removed Values Added
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.
Title HTTP/1 server crash due to MaxBytesReader header race in net/http
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Nov 11, 2026, 3:13 AM
Reserved
Sep 23, 2026, 11:05 PM
Status
Awaiting Analysis
Published
Nov 11, 2026, 5:19 AM
Modified
Nov 12, 2026, 10:09 PM