CVE-2026-97054

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

Published Nov 11, 2026 CVSS 3.1 · 5.9 Medium 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
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-362
CWE-820
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-632
Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library net/http
Vendors & Products Go Standard Library
Go Standard Library net/http
Type Values Removed Values Added
Weaknesses CWE-632
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Nov 16, 2026, 4:01 PM
Reserved
Sep 23, 2026, 11:05 PM
Status
Awaiting Analysis
Published
Nov 11, 2026, 5:19 AM
Modified
Nov 16, 2026, 4:17 PM