Skip to content

net/http/internal/http2: SETTINGS_MAX_FRAME_SIZE=0 causes Transport to loop infinitely #78476

@nicholashusin

Description

@nicholashusin

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.

This allows potential DoS against a client by a malicious server. HTTP/2
transport now properly checks that the received SETTINGS_MAX_FRAME_SIZE is
valid.

Thanks to Marwan Atia (marwansamir688@gmail.com) for reporting this issue.

This is CVE-2026-33814 and Go issue https://go.dev/issue/78476.


This was a PUBLIC track issue, tracked in http://b/496352405.

Metadata

Metadata

Assignees

Labels

NeedsFixThe path to resolution is known, but the work has not been done.Security

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions