CVE-2026-97054

medium

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

https://pkg.go.dev/vuln/GO-2026-6859

https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM

https://go.dev/issue/82563

https://go.dev/cl/862185

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123113

Details

Source: Mitre, NVD

Published: 2026-11-11

Updated: 2026-11-11

Risk Information

CVSS v2

Base Score: 7.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: Medium