VDB
Sign up
HIGH7.5

GO-2026-6089

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

Quick fix

GO-2026-6089 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.25.13

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.25.13
Fixgo get stdlib@v1.25.13

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/stdlib"]}'