net/url: Allocation of Resources Without Limits or Throttling
CVE-2025-61726 is a high-severity allocation of resources without limits or throttling vulnerability in net/url from Go standard library, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 1.24.12, 1.25.6 as the first without the flaw, so updating net/url to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 2.29% chance of exploitation within 30 days, higher than 84% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update net/url to 1.24.12 or 1.25.6, whichever matches your release line, or a later version.
- Read the advisory on pkg.go.dev for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CISA (ADP) |
| CVSS 3.1 | 7.5 | High | CNA |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
How developers prevent this class of flaw
- Clearly specify the minimum and maximum expectations for capabilities, and dictate which behaviors are acceptable when resource allocation reaches limits.
- Limit the amount of resources that are accessible to unprivileged users. Set per-user limits for resources. Allow the system administrator to define these limits. Be careful to avoid CWE-410.
- For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
More Allocation of Resources Without Limits or Throttling vulnerabilities (CWE-770)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- go.dev/cl/736712
- go.dev/issue/77101
- groups.google.com/g/golang-announce/c/Vd2tYVM8eUcMailing List, Release Notes
Other references
- access.redhat.com/errata/RHSA-2026:10096
- access.redhat.com/errata/RHSA-2026:10104
- access.redhat.com/errata/RHSA-2026:10184
- access.redhat.com/errata/RHSA-2026:10225
- access.redhat.com/errata/RHSA-2026:10250
- access.redhat.com/errata/RHSA-2026:11408
- access.redhat.com/errata/RHSA-2026:11414
- access.redhat.com/errata/RHSA-2026:11747
- access.redhat.com/errata/RHSA-2026:11749
- access.redhat.com/errata/RHSA-2026:12028
- access.redhat.com/errata/RHSA-2026:12029
- access.redhat.com/errata/RHSA-2026:12030
- access.redhat.com/errata/RHSA-2026:12031
- access.redhat.com/errata/RHSA-2026:12032
- access.redhat.com/errata/RHSA-2026:12033
Other vulnerabilities in net/url
- 7.5 High severity
Recent Allocation of Resources Without Limits or Throttling vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.4 High severity
Spotted an error? Tell us.