What’s Vulnerable › Vulnerabilities

CVE-2026-56853: Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http

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.

Affected products

How to fix

Upgrade to a fixed version: Go Stdlib 1.25.13, 1.26.6, 1.27.0-rc.3; Go standard library net/http 1.25.13, 1.26.6, 1.27.0-rc.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56853 or the next vulnerability affects your stack