VulnWatch by ve1ve2
medium 5.9 EPSS 0.48%

CVE-2026-97054: For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with ano…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
google

https://nvd.nist.gov/vuln/detail/CVE-2026-97054 ↗

CWE-362CWE-820

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. References: 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

Linked vulnerabilities (1)

CVE-2026-97054 medium 5.9 EPSS 0.48% (p42) NVDCVE.org
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

CWE: CWE-362, CWE-820NVD: Awaiting Analysis