Go Vulnerability Database
GO-2026-4918
Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
Details
When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames if it receives a SETTINGS_MAX_FRAME_SIZE with a value of 0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/net | All versions before 0.53.0 (fixed in 0.53.0) |
| Go | stdlib | All versions before 1.25.10 (fixed in 1.25.10) From 1.26.0-0 before 1.26.3 (fixed in 1.26.3) |