| Name | CVE-2026-97054 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| golang-1.19 (PTS) | bookworm | 1.19.8-2 | vulnerable |
| golang-1.24 (PTS) | trixie | 1.24.4-1 | vulnerable |
| golang-1.26 (PTS) | forky, sid | 1.26.11-1 | fixed |
| golang-1.27 (PTS) | forky, sid | 1.27.4-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| golang-1.19 | source | (unstable) | (unfixed) | |||
| golang-1.24 | source | (unstable) | (unfixed) | |||
| golang-1.26 | source | (unstable) | 1.26.11-1 | |||
| golang-1.27 | source | (unstable) | 1.27.4-1 |
[trixie] - golang-1.24 <no-dsa> (Minor issue)
[bookworm] - golang-1.19 <postponed> (Limited support, minor issue, follow trixie DSAs/point-releases)
https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM/m/KsU1KfWgAQAJ
https://github.com/golang/go/issues/82563
https://github.com/golang/go/commit/4c1752a033aef1a66eadfb11363ff256f8daf47d (go1.27.4)
https://github.com/golang/go/commit/0e6d155b1a4d2a994c7d906ce069949e17f4b8b8 (go1.26.11)