CVE Catalog

CVE-2025-61726

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.18%

81th percentile - higher than 81% of all known CVEs

Summary

The net/url package does not limit the number of query parameters. The net/http.Request.ParseForm method can parse large URL-encoded forms, causing excessive memory consumption with many unique parameters.

Risk Assessment

An attacker can overload the HTTP server by sending requests with a huge number of parameters, leading to memory exhaustion and potential DoS.

Recommendation

Implement a custom limit on the number of query parameters or use middleware that rejects oversized forms.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS