CVE-2025-61726
HIGH7.5EPSS 0.04%Memory exhaustion in query parameter parsing in net/url
Published: 1/28/2026Modified: 5/21/2026
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.
Affected packages (6)
- Bitnami/golangfrom 0, < 1.24.12, >= 1.25.0, < 1.25.6
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.6-1
- Go/stdlibfrom 0, < 1.24.12, >= 1.25.0, < 1.25.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |