Advisory

GO-2026-6859

Also known as: CVE-2026-97054

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-11-11 02:51 UTC
Modified
2026-11-11 03:15 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.26.11, introduced 1.27.0-0, fixed 1.27.4 (semver)

Fixed versions

1.26.11, 1.27.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences