CVE-2025-58186
Aliases:GO-2025-4012BIT-golang-2025-58186
Advisory lineage Upstream: 0 Downstream: 23
Deferred
Published: 29 Oct 2025, 22:10
Last modified:04 Nov 2025, 21:13
Vulnerability Summary
Overall Risk (default)
low
21/100 CVSS Score
5.3 MEDIUM
v3.1 (cve.org)
EPSS Score
0.04% LOW
0% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
29 Oct 2025, 22:10
Published
Vulnerability first disclosed
04 Nov 2025, 21:13
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Trends
Current EPSS score: 0.04%• Percentile: 13%
Affected Systems
- go standard library•net/http
< 1.24.8 | ≥ 1.25.0, < 1.25.2
- Go•stdlib
≥ 1.25.0, < 1.25.2