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

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Published: 2026-11-11T02:51:11.000Z
- Modified: 2026-11-25T10:42:40.483Z
- Also known as: GO-2026-6859
- Related: RHSA-2026:101231, RHSA-2026:102586, RHSA-2026:102587, RHSA-2026:102592, RHSA-2026:99003, RHSA-2026:99004
- Weaknesses: CWE-362, CWE-820
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- net/http: before 1.26.11; from 1.27.0-0 before 1.27.4
- stdlib (Go): before 1.26.11; from 1.27.0-0 before 1.27.4

## References

- <https://go.dev/cl/862185> (fix)
- <https://go.dev/issue/82563> (report)
- <https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM> (web)
- <https://pkg.go.dev/vuln/GO-2026-6859>

## Sources

- CVE List: [CVE-2026-97054](https://www.cve.org/CVERecord?id=CVE-2026-97054), CVE Terms of Use, modified 2026-11-16
- Go Vulnerability Database: [GO-2026-6859](https://pkg.go.dev/vuln/GO-2026-6859), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-97054](https://nvd.nist.gov/vuln/detail/CVE-2026-97054), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-97054 · Whole record: https://cve.day/CVE-2026-97054.json · Rebuilt by cve.day 2026-11-25T22:59:50.324Z
