CVE-2025-58186
published 2025-10-29CVE-2025-58186: 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…
PriorityP428medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.53%
41.0th percentile
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.
Affected
26 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-1.15 | < golang-1.24 1.24.8-1 (forky) | golang-1.24 1.24.8-1 (forky) |
| debian | golang-1.19 | < golang-1.24 1.24.8-1 (forky) | golang-1.24 1.24.8-1 (forky) |
| debian | golang-1.24 | < golang-1.24 1.24.8-1 (forky) | golang-1.24 1.24.8-1 (forky) |
| debian | golang-1.25 | < golang-1.24 1.24.8-1 (forky) | golang-1.24 1.24.8-1 (forky) |
| go_standard_library | net_http | < 1.24.8 | 1.24.8 |
| go_standard_library | net_http | >= 1.25.0 < 1.25.2 | 1.25.2 |
| msrc | azl3_gcc_13.2.0-7 | — | — |
| msrc | azl3_golang_1.23.12-1 | — | — |
| msrc | azl3_golang_1.25.3-1 | — | — |
| msrc | azl3_golang_1.25.5-1 | — | — |
| msrc | azl3_golang_1.25.6-1 | — | — |
| msrc | azl3_golang_1.25.7-1 | — | — |
| msrc | azl3_golang_1.25.8-1 | — | — |
| msrc | azl3_golang_1.26.0-1 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-6 | — | — |
| msrc | azl3_tensorflow_2.16.1-9 | — | — |
| msrc | cbl2_gcc_11.2.0-8 | — | — |
| msrc | cbl2_golang_1.18.8-10 | — | — |
| msrc | cbl2_golang_1.22.7-5 | — | — |
| msrc | cbl2_msft-golang_1.24.11-1 | — | — |
| msrc | cbl2_msft-golang_1.24.12-1 | — | — |
| msrc | cbl2_msft-golang_1.24.13-1 | — | — |
| msrc | cbl2_msft-golang_1.24.8-1 | — | — |
| msrc | cbl2_msft-golang_1.24.9-1 | — | — |
| msrc | cbl2_msft-golang_1.25.8-1 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
golang.org/net/http: Lack of limit when parsing cookies can cause memory exhaustion in net/http
vendor_redhat·2025-10-29·CVSS 5.3
CVE-2025-58186 [MEDIUM] golang.org/net/http: Lack of limit when parsing cookies can cause memory exhaustion in net/http
golang.org/net/http: Lack of limit when parsing cookies can cause memory exhaustion in net/http
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.
Package: rhai/assisted-installer-agent-rhel9 (Assisted Installer for Red Hat OpenShift Container Platform 2) - Under investigation
Package: rhai/assisted-installer-controller-rhel9 (Assisted Installer for Red Hat OpenShift Container Platform 2) - Under investigation
Package: rhai/assisted-installer-rhel9 (Assisted Installer for Red Hat OpenShift Container Platform 2) - Under investigation
Package: openshift-builds/opens
Microsoft
Lack of limit when parsing cookies can cause memory exhaustion in net/http
vendor_msrc·2025-10-14·CVSS 5.3
CVE-2025-58186 [MEDIUM] Lack of limit when parsing cookies can cause memory exhaustion in net/http
Lack of limit when parsing cookies can cause memory exhaustion in net/http
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Go: Go
Customer Action Required: Yes
Debian
CVE-2025-58186: golang-1.15 - Despite HTTP headers having a default limit of 1MB, the number of cookies that c...
vendor_debian·2025·CVSS 5.3
CVE-2025-58186 [MEDIUM] CVE-2025-58186: golang-1.15 - Despite HTTP headers having a default limit of 1MB, the number of cookies that c...
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.
Scope: local
bullseye: open
GHSA
GHSA-rjcg-56ph-3qvg: Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit
ghsa_unreviewed·2025-10-30
CVE-2025-58186 [MEDIUM] GHSA-rjcg-56ph-3qvg: Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit
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.
OSV
Lack of limit when parsing cookies can cause memory exhaustion in net/http
osv·2025-10-29
CVE-2025-58186 Lack of limit when parsing cookies can cause memory exhaustion in net/http
Lack of limit when parsing cookies can cause memory exhaustion in net/http
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.
OSV
CVE-2025-58186: Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit
osv·2025-10-29·CVSS 5.3
CVE-2025-58186 [MEDIUM] CVE-2025-58186: Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit
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 detection rules found.
No public exploits indexed.
2025-10-29
Published