ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-97054

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.

Affected packages

EcosystemPackageAffected versions
Debian:12golang-1.19
All versions, no fix listed
Debian:13golang-1.24
All versions, no fix listed
Debian:14golang-1.26
All versions before 1.26.11-1 (fixed in 1.26.11-1)
Debian:14golang-1.27
All versions before 1.27.4-1 (fixed in 1.27.4-1)

References