ADVISORIES

Vulnerability

CVE-2021-31525

net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

40 advisories report this vulnerability, across 12 ecosystems.

Advisories in Go

  • GHSA-h86h-8ppg-mxmh

    golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion

    Moderate CVE-2021-31525 Go Updated 10 September 2026
  • GO-2022-0236

    Panic due to large headers in net/http and golang.org/x/net/http/httpguts

    CVE-2021-31525 Go Updated 4 February 2026

References