CVE-2026-56853

Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http

Published Aug 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.

Analysis

AI-generated

Technical impact

The vulnerability occurs when a Go net/http server is configured to accept unencrypted HTTP/2 connections. The server reads a small amount of data from each new connection to check for the HTTP/2 client preface, but the ReadHeaderTimeout that should limit how long a client can delay sending data is not applied during this check. An attacker can open many connections and hold them open longer than allowed, consuming server resources until the server becomes unable to accept new connections. This is a classic resource exhaustion weakness (CWE‑770). The description does not specify exact Go patch versions, so any Go release prior to the fix referenced in go.dev/cl/795540 is potentially vulnerable.

Affected Systems

All installations of the Go standard library net/http that enable unencrypted HTTP/2 and are running a pre‑patch version. The description does not specify exact Go patch versions, so any Go release prior to the fix referenced in go.dev/cl/795540 is potentially vulnerable.

Risk and Exploitability

The exploit vector is network‑based: only a remote client that can connect to the server is required. The inherent vulnerability allows indefinite reads until a client disconnects or the server times out; however, no current exploit is documented and the EPSS score is < 1%. The issue is not listed in CISA’s KEV catalog. Attackers would need to generate a large number of slow connections to achieve a denial of service, so the operational impact is moderate to high depending on server load and mitigation measures. The CVSS score of 7.5 indicates a high severity vulnerability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Go version that contains the fix described in go.dev/cl/795540.
  • Disable unencrypted HTTP/2 if it is not required, thereby eliminating the vulnerability.
  • Implement network‑level rate limiting or firewall rules to mitigate slow‑loris style attacks and reduce the impact of resource exhaustion.

Generated by OpenCVE AI on August 14, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library net/http
Vendors & Products Go Standard Library
Go Standard Library net/http
Type Values Removed Values Added
Description When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
Title Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Aug 14, 2026, 3:23 PM
Reserved
Jun 23, 2026, 3:10 PM
Status
Awaiting Analysis
Published
Aug 13, 2026, 10:17 PM
Modified
Sep 3, 2026, 4:37 PM
Severity
Important
Public date
Aug 13, 2026, 9:58 PM