VDB
Sign up
CRITICAL9.1

GO-2026-6612

Double flow control refund on HTTP/2 server streams in net/http

Quick fix

GO-2026-6612 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.26.9

Details

The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-but-unread portion of the stream), and again when a request handler reads the buffered data. A malicious client can exploit this to bypass the configured connection-level flow control limit (MaxReceiveBufferPerConnection). Total buffered data is still limited by the concurrent stream limit and stream-level flow control.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.26.9
Fixgo get stdlib@v1.26.9
Go/stdlib
Introduced in: 1.27.0-0Fixed in: 1.27.2
Fixgo get stdlib@v1.27.2
Go/golang.org/x/net
Introduced in: 0Fixed in: 0.60.0
Fixgo get golang.org/x/net@v0.60.0

References