CVE-2025-58186: Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 4 Nov 2026, 18:00 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gonet/httppkg:golang/net/httpOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, consider implementing limits on the number of cookies parsed or applying rate limiting and request size restrictions at the network or application level to mitigate potential exploitation.
Description
CVE-2025-58186 is a vulnerability where an HTTP server does not limit the number of cookies parsed, despite HTTP headers having a default size limit of 1MB. An attacker can exploit this by sending many small cookies, causing excessive memory allocation on the server and resulting in large memory consumption.
References
- nvd.nist.gov/vuln/detail/CVE-2025-58186 (opens in a new tab)
- go.dev/cl/709855 (opens in a new tab)
- go.dev/issue/75672 (opens in a new tab)
- groups.google.com/g/golang-announce/c/4Emdl2iQ_bI (opens in a new tab)
- pkg.go.dev/vuln/GO-2025-4012 (opens in a new tab)
- openwall.com/lists/oss-security/2025/10/08/1 (opens in a new tab)