CVE-2025-58186
Medium
Description
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductStdlib
PublishedOct 29, 2025
First seenOct 29, 2025
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- stdlib1.24.8, 1.25.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stdlibGo | v < 1.24.8, 1.25.0 ≤ v < 1.25.2 | 1.24.8, 1.25.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.