Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-61726

Memory exhaustion in query parameter parsing in net/url

Description

The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library net/url

Default version status: unaffected

  • 0 to < 1.24.12affected
  • 1.25.0 to < 1.25.6affected

References