SEVERITY NOT PROVIDED EPSS 0.5% · 34th percentile

CVE-2026-97054: HTTP/1 server crash due to MaxBytesReader header race in net/http

Published 2026-11-11 · Updated 2026-11-27 · Also known as BIT-golang-2026-97054, GO-2026-6859

Summary

A race condition in the net/http package's MaxBytesReader can cause HTTP/1 server crashes when headers are modified concurrently. Go developers using MaxBytesReader or MaxBytesHandler should update their runtime to the specified fixed versions.

Who is affected

The vulnerability affects Go applications using the standard library's HTTP/1 server components. A crash occurs when an application handler concurrently reads a request body and writes response headers while the MaxBytesReader limit is exceeded, triggering an unsynchronized update of the 'Connection: close' header.

Exploitability

The severity and CVSS vector are not documented, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score of 0.005 suggests a low probability of exploitation in the wild.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-27. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go stdlib >= 0, < 1.26.11 1.26.11 go get [email protected]
Go stdlib >= 1.27.0-0, < 1.27.4 1.27.4 go get [email protected]

FAQ

Does this impact HTTP/2 servers?

The description specifically identifies this as an issue for HTTP/1 servers.

Is this vulnerability actively being exploited?

No, it is not listed in the CISA Known Exploited Vulnerabilities catalog.

What is the technical cause of the crash?

A runtime panic occurs due to an unsynchronized race condition when the 'Connection: close' header is set while a handler concurrently writes response headers.

Original advisory 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.

References

Source records: GO-2026-6859 (OSV.dev) · EPSS by FIRST, 2026-11-27.