CVE-2025-58186
Lack of limit when parsing cookies can cause memory exhaustion in net/http
Published: Oct 29, 2025Updated: Nov 4, 2025 Sources: CVE List NVD BDU
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:LAvailabilityLow
Affected Products
The Go Project
oss-projectaka go, golang-google-protobuf, crypto
ООО "Открытая мобильная платформа"
commercial·RU
Go standard library
oss-project·USaka html/template, net/http, crypto/x509, golang standard library
Exploitability
Official Patch Available
References
https://github.com/zabbix/zabbix/blob/master/src/go/go.mod
github.com
https://pkg.go.dev/vuln/GO-2025-4012
pkg.go.dev
https://go.dev/issue/75672
go.dev
and 4 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-58186 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
