{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58186","id":"CVE-2025-58186","title":"Lack of limit when parsing cookies can cause memory exhaustion in net/http","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.","descriptionLong":"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":"2025-10-29T22:10:13.912Z","updated":"2026-10-11T20:10:00.200Z","reserved":"2025-08-27T14:50:58.691Z","status":"Deferred","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"CISA-ADP"}],"rating":"medium","products":["Go standard library net/http"],"affectedProducts":[{"vendor":"Go standard library","product":"net/http","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.24.8","status":"affected","versionType":"semver"},{"version":"1.25.0","lessThan":"1.25.2","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-400"],"aliases":[],"references":[{"url":"https://go.dev/issue/75672","tags":[]},{"url":"https://go.dev/cl/709855","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4012","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00565,"epssPercentile":0.47685,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58186","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58186","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58186","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}