CVE-2026-97054
HTTP/1 server crash due to MaxBytesReader header race in net/http
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.
INFO
Published Date :
Nov. 11, 2026, 5:19 a.m.
Last Modified :
Nov. 11, 2026, 5:19 a.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Synchronize access to headers when using size-limited readers.
- Update server to use thread-safe header handling.
- Avoid concurrent body reading and header writing.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-97054.
| URL | Resource |
|---|---|
| https://go.dev/cl/862185 | |
| https://go.dev/issue/82563 | |
| https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM | |
| https://pkg.go.dev/vuln/GO-2026-6859 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-97054 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-97054
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-97054 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-97054 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Nov. 11, 2026
Action Type Old Value New Value 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/97xxx/CVE-2026-97054.json">CVE-2026-97054</a> Added Reference https://go.dev/cl/862185 Added Reference https://go.dev/issue/82563 Added Reference https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM Added Reference https://pkg.go.dev/vuln/GO-2026-6859