CVE-2025-61726: Memory Exhaustion in Go URL-Encoded Form Parsing
- Vendor
- Golang
CVE-2025-61726 is a resource-exhaustion vulnerability in Go's net/url query-parameter parsing, exposed through net/http.Request.ParseForm. The parser does not limit the number of query parameters, allowing a URL-encoded form containing many unique key-value pairs to trigger excessive memory allocation. Although HTTP request-header limits generally constrain parameters supplied in URLs, they do not provide equivalent protection for large URL-encoded form bodies. Applications parsing attacker-controlled forms can consequently suffer denial of service through memory exhaustion.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can exhaust the affected application's memory and cause denial of service, disrupting request processing or making the service unavailable. The vulnerability affects availability; no confidentiality or integrity impact is established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, enforce request-body size limits before form parsing and limit the number of accepted parameters or unique keys before vulnerable parsing occurs. Apply URL-length and request-header limits as additional controls, but do not rely on them to constrain URL-encoded request bodies. Restrict access to affected endpoints where practical and use rate limiting or WAF rules to reduce abusive submissions.
Remediation
Patch, then assume compromise.
Upgrade to Go 1.24.12 or later in the 1.24 branch, Go 1.25.6 or later in the 1.25 branch, or a newer supported release containing the fix. Rebuild and redeploy affected Go applications with the patched toolchain so their binaries incorporate the corrected standard library. For vendor-distributed applications and operating-system packages, install the applicable vendor security updates rather than relying solely on updating the system Go installation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-61726 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2025-61726 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-61726?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2025-61726.
- Is there a patch for CVE-2025-61726?
- Upgrade to Go 1.24.12 or later in the 1.24 branch, Go 1.25.6 or later in the 1.25 branch, or a newer supported release containing the fix. Rebuild and redeploy affected Go applications with the patched toolchain so their binaries incorporate the corrected standard library.
- What products are affected by CVE-2025-61726?
- Golang Go.
- How severe is CVE-2025-61726?
- CVE-2025-61726 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.3% (84th percentile) as of Nov 27, 2026.
Recent activity
271 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.