Skip to main content
← All vulnerabilities
CVE-2025-61726GO-2026-4341BIT-GOLANG-2025-61726

Memory exhaustion in query parameter parsing in net/url

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.12, 1.25.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • net/url

    fixed in 1.24.12; From 1.25.0 · fixed in 1.25.6

  • stdlibGo

    fixed in 1.24.12; From 1.25.0 · fixed in 1.25.6

References 4

go.dev

groups.google.com

pkg.go.dev