CVE 7.5 HIGH

Memory exhaustion in query parameter parsing in net/url_CVE-2025-61726

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2025-61726
Source Go
Published Jan 28, 2026 at 19:30
Modified Jan 29, 2026 at 18:31

Affected Product

Vendor Go standard library
Product net/url
Affected Versions Go standard library net/url 0
Go standard library net/url 1.25.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.