Advisory

GO-2026-4341

Also known as: BIT-golang-2025-61726, CVE-2025-61726

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.

Severity

Not rated by the source.

Dates

Published
2026-01-28 19:08 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.24.12, introduced 1.25.0, fixed 1.25.6 (semver)

Fixed versions

1.24.12, 1.25.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences