Vulnerability in Go Standard Library Net/http
CVE-2025-58186
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.006 · 47.5th percentile
- Published
- 2025-10-29
Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit. By sending a lot of very small cookies such as "a=;", an attacker can make an HTTP server allocate a large amount of structs, causing large memory consumption.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.006, 47.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Go Standard Library Net/http — versions 0, 1.25.0