CVE-2025-61726 Memory exhaustion in query parameter parsing in net/url
Attackers can cause excessive memory consumption and denial of service by sending large URL-encoded forms with many unique query parameters to Go applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-61726?
CVE-2025-61726 is a high-severity denial of service vulnerability in Golang Go, published on 28 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-770
Which versions are affected by CVE-2025-61726?
2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
golang Bitnami | All versions | 1.24.12, 1.25.6 |
stdlib Go | All versions | 1.24.12, 1.25.6 |
Linux distribution packages (38)
go-srpm-macros AlmaLinux:10 | All versions | 3.6.0-7.el10_1 |
yggdrasil-worker-package-manager AlmaLinux:10 | All versions | 0.2.3-4.el10_1 |
go-filesystem AlmaLinux:9 | All versions | 3.6.0-13.el9_7 |
go-rpm-macros AlmaLinux:9 | All versions | 3.6.0-13.el9_7 |
go-rpm-templates AlmaLinux:9 | All versions | 3.6.0-13.el9_7 |
go-srpm-macros AlmaLinux:9 | All versions | 3.6.0-13.el9_7 |
receptor Red Hat:ansible_automation_platform:2.4::el8 | All versions | 0:1.6.3-4.el8ap |
receptor Red Hat:ansible_automation_platform:2.4::el9 | All versions | 0:1.6.3-4.el9ap |
receptor Red Hat:ansible_automation_platform_developer:2.4::el8 | All versions | 0:1.6.3-4.el8ap |
receptor Red Hat:ansible_automation_platform_developer:2.4::el9 | All versions | 0:1.6.3-4.el9ap |
receptor Red Hat:ansible_automation_platform_inside:2.4::el8 | All versions | 0:1.6.3-4.el8ap |
receptor Red Hat:ansible_automation_platform_inside:2.4::el9 | All versions | 0:1.6.3-4.el9ap |
go-filesystem Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
go-rpm-macros Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
go-rpm-macros-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
go-rpm-macros-debugsource Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
go-rpm-templates Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
go-srpm-macros Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.0-7.el10_1 |
yggdrasil-worker-package-manager Red Hat:enterprise_linux:10.1 | All versions | 0:0.2.3-4.el10_1 |
yggdrasil-worker-package-manager-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:0.2.3-4.el10_1 |
yggdrasil-worker-package-manager-debugsource Red Hat:enterprise_linux:10.1 | All versions | 0:0.2.3-4.el10_1 |
go-filesystem Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-rpm-macros Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-rpm-macros-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-rpm-macros-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-rpm-templates Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-srpm-macros Red Hat:enterprise_linux:9::appstream | All versions | 0:3.6.0-13.el9_7 |
go-filesystem Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
go-rpm-macros Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
go-rpm-macros-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
go-rpm-macros-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
go-rpm-templates Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
go-srpm-macros Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.6.0-5.el10_0 |
yggdrasil-worker-package-manager Red Hat:enterprise_linux_eus:10.0 | All versions | 0:0.2.3-4.el10_0 |
yggdrasil-worker-package-manager-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:0.2.3-4.el10_0 |
yggdrasil-worker-package-manager-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 0:0.2.3-4.el10_0 |
containernetworking-plugins Red Hat:openshift:4.16::el8 | All versions | 1:1.4.0-8.rhaos4.16.el8 |
containernetworking-plugins-debuginfo Red Hat:openshift:4.16::el8 | All versions | 1:1.4.0-8.rhaos4.16.el8 |
Products include Golang Go.
How do I fix CVE-2025-61726?
Upgrade golang to a fixed version for your release line: 1.24.12 or 1.25.6.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-61726 being exploited?
There is no known exploitation of CVE-2025-61726 in the wild and no public exploit code.
Other vulnerabilities in Golang Go
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing
- CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile
- CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
- CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go
- CVE-2023-24540 Improper handling of JavaScript whitespace in html/template
Sources
Also known as ALSA-2026:3668, ALSA-2026:3669, ALSA-2026:5145, AZL-75642, AZL-75695, AZL-75734 and 455 more.