GO-2026-4341

Source
https://pkg.go.dev/vuln/GO-2026-4341
Import Source
https://vuln.go.dev/ID/GO-2026-4341.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-4341
Aliases
Published
2026-01-28T19:08:18Z
Modified
2026-01-31T09:26:11.688211Z
Summary
Memory exhaustion in query parameter parsing in net/url
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-4341"
}
References
Credits
    • jub0bs

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.12
Introduced
1.25.0
Fixed
1.25.6

Ecosystem specific

{
    "imports": [
        {
            "path": "net/url",
            "symbols": [
                "ParseQuery",
                "URL.Query",
                "parseQuery"
            ]
        }
    ]
}

Database specific

source

"https://vuln.go.dev/ID/GO-2026-4341.json"