# CVE-2025-61726: Go net/url memory exhaustion in query parameter parsing

Source: https://junglewise.ai/threats/cve-2025-61726-go-net-url-memory-exhaustion-in-query-parameter-parsing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-01-28. Updated: 2026-06-30  
License: CC BY 4.0 with a link back

CVE-2025-61726 · Severity: high · CVSS 7.5 · Published 2026-01-28

A vulnerability in the Go programming language's standard library could allow an attacker to crash a web server or application. By sending a specially crafted web request with an extremely large number of unique parameters, an attacker can force the application to consume all available system memory. This results in a denial-of-service (DoS) condition, making the service unavailable to legitimate users.

Technologies: [stdlib (Go)](https://junglewise.ai/threats/technologies/go-stdlib). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-61726 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-61726 being exploited in the wild.

**How severe is CVE-2025-61726?** High severity, with a CVSS score of 7.5, published 28 January 2026.

**Which products and versions are affected?** stdlib (Go) SEMVER:introduced=0,fixed=1.24.12,introduced=1.25.0,fixed=1.25.6.

**Is there a fix for CVE-2025-61726?** Yes. stdlib (Go): upgrade to 1.25.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-61726 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-61726?** Check whether you run stdlib (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- stdlib (Go): upgrade to 1.25.6 or later

  ```sh
  go get stdlib@v1.25.6
  ```


## Technical details

A memory exhaustion vulnerability exists in the Go 'net/url' package and 'net/http.Request.ParseForm' method. While URL query parameters are typically constrained by request header size limits, 'ParseForm' can process large URL-encoded bodies containing a vast number of unique keys. Because the package does not enforce a maximum limit on the number of parameters, an attacker can send a crafted request that forces the application to allocate excessive memory during parsing. This can lead to a process crash or system-wide denial of service. The issue is fixed in Go versions 1.24.12 and 1.25.6.

## Affected products

- Google Go before 1.24.12, 1.25.0 before 1.25.6

## Identifiers

- CVE-2025-61726
- GO-2026-4341

## Timeline

- 2026-01-07: disclosed: Issue opened in Go repository
- 2026-01-28: advisory: CVE published and Go vulnerability report released

## References

- [https://pkg.go.dev/](https://pkg.go.dev/)
- [https://go.dev/cl/736712](https://go.dev/cl/736712)
- [https://go.dev/issue/77101](https://go.dev/issue/77101)
- [https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc](https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc)
- [https://pkg.go.dev/vuln/GO-2026-4341](https://pkg.go.dev/vuln/GO-2026-4341)
- [https://access.redhat.com/errata/RHSA-2026:10096](https://access.redhat.com/errata/RHSA-2026:10096)
- [https://access.redhat.com/errata/RHSA-2026:10104](https://access.redhat.com/errata/RHSA-2026:10104)

## Related threats

- [Go HTTP/1 server race condition in MaxBytesReader header handling](https://junglewise.ai/threats/cve-2026-97054-for-http-1-servers-when-maxbytesreader-s-limit-is-exceeded)
- [Go crypto/x509 untrusted intermediate certificate validation](https://junglewise.ai/threats/cve-2026-111943-on-most-platforms-go-uses-the-given-system-root-certificates)
- [Go crypto/tls malformed ECH extension DoS](https://junglewise.ai/threats/cve-2026-97031-go-2026-6607-reject-malformed-ech-outer-extension-references-in)
- [Go html/template XSS via missing ES2015+ keywords](https://junglewise.ai/threats/cve-2026-97030-go-2026-6600-recognize-yield-as-regexp-preceder-keyword-in-html)
- [Go html/template XSS via stale context in consecutive expressions](https://junglewise.ai/threats/cve-2026-94448-go-2026-6599-reset-context-tracking-on-consecutive-template)
