CVE-2025-61726: Memory exhaustion in query parameter parsing in net/url

Published Jan 28, 2026
·
Updated

Memory exhaustion in query parameter parsing in net/url

Other sources

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.

— OSV

Affected Software

36 affected componentsFixes available
net/url
Golang Go<1.24.12
Golang Go>=1.25.0<1.25.6
go/stdlib<1.24.12
1.24.12
go/stdlib>=1.25.0<1.25.6
1.25.6
alpine/etcd<3.6.8-r0
3.6.8-r0
alpine/etcd<3.6.8-r0
3.6.8-r0
alpine/go<1.24.12-r0
1.24.12-r0
alpine/go>=1.25.0<1.25.6-r0
1.25.6-r0
alpine/go>=1.25.0<1.25.6-r0
1.25.6-r0
ubuntu/golang-1.10*
ubuntu/golang-1.10*
ubuntu/golang-1.6*
ubuntu/golang-1.13*
ubuntu/golang-1.18*
ubuntu/golang-1.10*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.8*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.22*
ubuntu/golang-1.17*
ubuntu/golang-1.22*
ubuntu/golang-1.24*
ubuntu/golang-1.13*
ubuntu/golang-1.21*
ubuntu/golang-1.22*
ubuntu/golang-1.24*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
IBM API Connect<=V10.0.8.0 - V10.0.8.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/etcd to a version that resolves this vulnerability.

    Fixed in 3.6.8-r0
  2. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.24.12-r0
  3. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.25.6-r0
  4. Upgrade

    Upgrade go/stdlib to a version that resolves this vulnerability.

    Fixed in 1.24.12
  5. Upgrade

    Upgrade go/stdlib to a version that resolves this vulnerability.

    Fixed in 1.25.6

Event History

Jan 28, 2026
Advisory Published
via OSV·07:08 PM
Data Sourced
via OSV·07:08 PM
DescriptionAffected Software
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·08:16 PM
Severity
Data Sourced
via NVD·08:16 PM
Description
Jan 29, 2026
Data Sourced
via NVD·07:16 PM
Severity
Feb 6, 2026
Data Sourced
via NVD·06:47 PM
RemedyWeaknessAffected Software
Jun 30, 2026
Updated
via NVD·03:16 AM
SeverityWeakness
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jul 8, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 15, 2026
Updated
via NVD·03:16 AM
SeverityWeakness
Updated
via NVD·02:17 PM
SeverityWeakness
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 3, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeakness
Sep 22, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software
Updated
via OSV·06:21 PM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-61726?

CVE-2025-61726 has been classified as a moderate severity vulnerability due to its potential for causing memory exhaustion.

2

How do I fix CVE-2025-61726?

To mitigate CVE-2025-61726, implement input validation to limit the number of query parameters processed in your application.

3

Which software versions are affected by CVE-2025-61726?

CVE-2025-61726 affects all versions of the net/url package that do not impose limitations on query parameters.

4

What are the potential impacts of CVE-2025-61726?

The potential impacts of CVE-2025-61726 include denial of service through memory exhaustion in applications utilizing the affected net/url package.

5

Is CVE-2025-61726 related to web application security?

Yes, CVE-2025-61726 is directly related to web application security as it involves query parameter parsing in HTTP requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203