# GO-2026-6617: HTTP/2 server crash due to HPACK encoder race in net/http

- Database: Go
- Also known as: BIT-GOLANG-2026-97032
- Published: 2026-10-08
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-97032](https://cve.now/CVE-2026-97032.md): HTTP/2 server crash due to HPACK encoder race in net/http

## Affected versions

- stdlib (Go): fixed in 1.26.9
- stdlib (Go): from 1.27.0-0, fixed in 1.27.2
- golang.org/x/net (Go): fixed in 0.60.0

## Description

HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HEADERS frame as part of a response sent to a client and the other modifies the encoder's table size when handling a SETTINGS frame containing SETTINGS_HEADER_TABLE_SIZE that a client sends. A malicious client can repeatedly send a request while changing the header table size to crash the server.

## References

- https://go.dev/cl/847188
- https://go.dev/cl/847313
- https://go.dev/issue/81867
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- https://groups.google.com/g/golang-announce/c/ZPwCyRUuGBs

Page: https://cve.now/GO-2026-6617

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
