CVE-2025-61726

GO-2026-4341 · published 28 Jan 2026 · updated 16 Nov 2026

Memory exhaustion in query parameter parsing in net/url

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.24.12, 1.25.6 and stdlib 1.25.6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.24.12, >=1.25.0 <1.25.61.24.12, 1.25.6
go: stdlib>=1.25.0 <1.25.61.25.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in stdlib (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-61726 severity on Zeptric[![CVE-2025-61726](https://zeptric.io/badge/cve/CVE-2025-61726.svg)](https://zeptric.io/cve/CVE-2025-61726)