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.
References
| Link | Resource |
|---|---|
| https://go.dev/cl/736712 | Patch |
| https://go.dev/issue/77101 | Patch |
| https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc | Release Notes Mailing List |
| https://pkg.go.dev/vuln/GO-2026-4341 | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-01-28 20:16
Updated : 2026-02-06 18:47
NVD link : CVE-2025-61726
Mitre link : CVE-2025-61726
CVE.ORG link : CVE-2025-61726
JSON object : View
Products Affected
golang
- go
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
