Go
CVE-2026-97054
HTTP/1 server crash due to MaxBytesReader header race in net/http
- Severity
- Medium 5.9
- Published
- 11 Nov 2026
- Last changed
- 16 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.26.11, 1.27.4
- Exploit chance
- 0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-820Race condition (CWE-362)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
net/httpGo · osv:Go:net/http |
|
About net/http
This is the only vulnerability in net/http in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-97054