Skip to content

net/http: excessive CPU consumption from repeated initial window changes #81742

Closed

Description

@neild

A malicious HTTP/2 peer could cause excessive CPU consumption in the
client or server by opening a large number of streams and then sending
many small SETTINGS frames containing SETTINGS_INITIAL_WINDOW_SIZE values.

The HTTP/2 client and server now efficiently handle changes to the
initial window size (O(1) rather than O(number of streams)).

Thanks to Jakub Ciolek (https://ciolek.dev) for reporting this issue.

This is CVE-2026-78669 and Go issue https://go.dev/issue/81742.


This was a PRIVATE track issue originally tracked in http://b/549104372.

Activity

  1. added this to the Go1.28 milestone on Sep 24, 2026
  2. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Sep 29, 2026
  3. removed
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Sep 30, 2026
  4. thatnealpatel commented on Sep 30, 2026

    @thatnealpatel
    Member

    @gopherbot Please open backports for this security issue.

  5. gopherbot commented on Sep 30, 2026

    @gopherbot
    Contributor

    Backport issue(s) opened: #81903 (for 1.26), #81904 (for 1.27).

    Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

  6. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Oct 5, 2026
  7. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847031 mentions this issue: [release-branch.go1.27] net/http/internal/http2: avoid excessive work on initial window changes

  8. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847111 mentions this issue: [release-branch.go1.26] net/http: bundled HTTP/2 vuln fixes

  9. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847308 mentions this issue: net/http/internal/http2: avoid excessive work on initial window changes

  10. changed the title [-]security: fix CVE-2026-78669[/-] [+]net/http: excessive CPU consumption from repeated initial window changes[/+] on Oct 8, 2026
  11. added a commit that references this issue on Oct 8, 2026
    345f996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions