CVE-2026-78663: Double flow control refund on HTTP/2 server streams in net/http
Exploitation: None known · CVSS 9.1 Critical · Unauthenticated · Published 2026-10-08
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.
Fix
Upgrade net/http to 1.26.9; golang.org/x/net/http2 to 0.60.0. No fixed version is listed for net/http/internal/http2; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| net/http | 0 before 1.26.9 | 1.26.9 |
| net/http/internal/http2 | 1.27.0-0 before 1.27.2 | Not listed |
| golang.org/x/net/http2 | 0 before 0.60.0 | 0.60.0 |