Double flow control refund on HTTP/2 server streams in net/http
- CVE-2026-78663
- BIT-golang-2026-78663
- GO-2026-6612
Description
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.
Text from the OSV record.
Recommendation
golang.org/x/net
- If you run a version before 0.60.0update to 0.60.0 or latergolang.org/x/net 0.60.0 on its registry (opens in a new tab)
stdlib
- If you run 1.27.xupdate to 1.27.2 or laterPatch update: breaking changes are unlikely
- If you run a version before 1.26.9update to 1.26.9 or later
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
golang.org/x/netGo
Affected versions Fixed in before 0.60.0 0.60.0 stdlibGo
Affected versions Fixed in from 1.27.0-0 to before 1.27.2 1.27.2 before 1.26.9 1.26.9
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.