CVE-2025-58186 json
Lack of limit when parsing cookies can cause memory exhaustion in net/http
published 2025-10-29 12 mo ago modified 2026-10-11 28 d ago also BIT-golang-2025-58186 , EUVD-2025-36733 , GO-2025-4012
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.24.8, 1.25.2
- go stdlib 1.24.8, 1.25.2
- Go standard library net/http 1.24.8, 1.25.2
- golang1.25 hummingbird 1 1.25.9-1.hum1
- golang1.25-bin hummingbird 1 1.25.9-1.hum1
- golang1.25-src hummingbird 1 1.25.9-1.hum1
- golang1.25-misc hummingbird 1 1.25.9-1.hum1
- golang1.25-tests hummingbird 1 1.25.9-1.hum1
- golang1.25-shared hummingbird 1 1.25.9-1.hum1
- golang1.26 hummingbird 1 1.26.2-1.hum1
- golang1.26-bin hummingbird 1 1.26.2-1.hum1
red hat advisories RHSA-2026:7385RHSA-2026:7291
- go1.24-openssl SLES for SAP applications 16.0, SLES 16.0 1.24.13-160000.1.1
- go1.25-openssl SLES for SAP applications 16.0, SLES 16.0 1.25.7-160000.1.1
- go1.24-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 +1 more 1.24.12-150600.13.15.1
- go1.25-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 +1 more 1.25.6-150600.13.9.1
- go1.25-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.25.6-150000.1.9.1
- go1.24-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.24.12-150000.1.18.1
- go1.24 SLES for SAP applications 16.0, SLES 16.0 1.24.11-160000.1.1
- go1.25 SLES for SAP applications 16.0, SLES 16.0 1.25.5-160000.1.1
suse advisories SUSE-SU-2026:20629-1SUSE-SU-2026:20623-1SUSE-SU-2026:0308-1SUSE-SU-2026:0298-1SUSE-SU-2026:0297-1SUSE-SU-2026:0296-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- go1.24-openssl openSUSE Leap 16.0 1.24.13-160000.1.1
- go1.25-openssl openSUSE Leap 16.0 1.25.7-160000.1.1
- go1.24 openSUSE Leap 16.0 1.24.11-160000.1.1
- go1.25 openSUSE Leap 16.0 1.25.5-160000.1.1
- regclient openSUSE Tumbleweed 0.10.0-1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20251029T215107-1.1
- go1.24 openSUSE Tumbleweed 1.24.8-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2026:20308-1openSUSE-SU-2026:20301-1openSUSE-SU-2025:20158-1openSUSE-SU-2025:20157-1openSUSE-SU-2025:15723-1
- go Alpine 3.22 1.24.8-r0
- go Alpine 3.24, Alpine 3.23 1.25.2-r0
alpine advisories ALPINE-CVE-2025-58186
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- go.dev/cl/709855 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-58186 updated cvss 5.3
golang.org/net/http: Lack of limit when parsing cookies can cause memory exhaustion in net/http
-
Red Hat Cryostat 4 cryostat/cryostat-storage-rhel9, cryostat/cryostat-rhel9-operator, cryostat/cryostat-ose-oauth-proxy-rhel9, cryostat/cryostat-grafana-dashboard-rhel9 Red Hat OpenShift Serverless openshift-serverless-clients, openshift-serverless-1/kn-plugin-event-sender-rhel9, openshift-serverless-1-logic-rhel9-operator-container, openshift-serverless-1/kn-plugin-func-func-util-rhel9, openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp26/operator, rhcl-1/authorino-rhel9, 3scale-amp26/3scale-operator, rhcl-1/authorino-rhel9-operator, rhcl-1/authorino-operator-bundle, 3scale-amp2/3scale-rhel7-operator, +8 more Red Hat Connectivity Link 1 rhcl-1/coredns-rhel9, rhcl-1/authorino-rhel9, rhcl-1/dns-rhel9-operator, rhcl-1/dns-operator-bundle, rhcl-1/rhcl-rhel9-operator, rhcl-1/rhcl-operator-bundle, +11 moreaffected: no fix available “Fix deferred”
-
Red Hat Developer Hub 1 rhdh/rhdh-rhel9-operator Red Hat Enterprise Linux 9 rhel9/bootc-image-builder Red Hat Enterprise Linux 10 rhel10/bootc-image-builderaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9, rhoai/odh-must-gather-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-feast-operator-rhel9, +21 more Red Hat Service Interconnect 1 skupper-cli Red Hat Service Interconnect 2 skupper-cli Red Hat streams for Apache Kafka 3 golang-github-danielqsj-kafka_exporteraffected: no fix available “Fix deferred”
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-rhel9, rhai/assisted-installer-agent-rhel9, rhai/assisted-installer-controller-rhel9 Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9, openshift-builds/openshift-builds-webhook-rhel9, openshift-builds/openshift-builds-rhel9-operator, openshift-builds/openshift-builds-controller-rhel9, openshift-builds/openshift-builds-git-cloner-rhel9, openshift-builds/openshift-builds-image-bundler-rhel9, +3 more Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/jetstack-cert-manager-rhel9, cert-manager/cert-manager-istio-csr-rhel9, cert-manager/jetstack-cert-manager-acmesolver-rhel9 Red Hat Compliance Operator compliance/openshift-compliance-operator-bundle Red Hat Confidential Compute Attestation confidential-compute-attestation-tech-preview/trustee-rhel9-operator Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9, custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9, custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operator, custom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel9under investigation
+23 more productsfewer
Red Hat Deployment Validation Operator dvo/deployment-validation-rhel8-operator Red Hat External Secrets Operator for Red Hat OpenShift external-secrets-operator/external-secrets-rhel9 Red Hat external secrets operator for Red Hat OpenShift - Tech Preview external-secrets-operator/external-secrets-rhel9 Red Hat ExternalDNS Operator edo/external-dns-rhel8, edo/external-dns-rhel9, edo/external-dns-rhel8-operator, edo/external-dns-rhel9-operator Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator, workload-availability/fence-agents-remediation-operator-bundle Red Hat File Integrity Operator compliance/openshift-compliance-operator-bundle, compliance/openshift-file-integrity-rhel8-operator, compliance/openshift-file-integrity-operator-bundle Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9-operator Red Hat Kube Descheduler Operator kube-descheduler-operator/descheduler-rhel9, kube-descheduler-operator/kube-descheduler-rhel9-operator Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/eventrouter-rhel8, openshift-logging/eventrouter-rhel9, openshift-logging/logging-loki-rhel9, openshift-logging/loki-rhel9-operator, openshift-logging/opa-openshift-rhel9, openshift-logging/lokistack-gateway-rhel9, +5 more Red Hat Logical Volume Manager Storage lvms4/topolvm-rhel8, lvms4/topolvm-rhel9, lvms4/lvms-rhel9-operator, lvms4/lvms-operator-bundle, lvms4/lvms-must-gather-rhel8, lvms4/lvms-must-gather-rhel9 Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operator, workload-availability/machine-deletion-remediation-operator-bundle Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9, mta/mta-hub-rhel9, mta/mta-analyzer-addon-rhel9, mta/mta-discovery-addon-rhel9, mta/mta-java-external-provider-rhel9, mta/mta-dotnet-external-provider-rhel8, +2 more Red Hat Migration Toolkit for Applications 8 mta/mta-cli-rhel9, mta/mta-hub-rhel9, mta/mta-analyzer-addon-rhel9, mta/mta-platform-addon-rhel9, mta/mta-discovery-addon-rhel9, mta/mta-solution-server-rhel9, +4 more Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-must-gather-rhel8, rhmtc/openshift-migration-rsync-transfer-rhel8, rhmtc/openshift-migration-velero-plugin-for-mtc-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-api-rhel9, migration-toolkit-virtualization/mtv-rhel8-operator, migration-toolkit-virtualization/mtv-rhel9-operator, migration-toolkit-virtualization/mtv-virt-v2v-rhel9, migration-toolkit-virtualization/mtv-controller-rhel9, migration-toolkit-virtualization/mtv-validation-rhel9, +6 more Red Hat Multiarch Tuning Operator multiarch-tuning/multiarch-tuning-rhel9-operator Red Hat Multicluster Engine for Kubernetes multicluster-engine/hive-rhel8, multicluster-engine/hive-rhel9, multicluster-engine/work-rhel8, multicluster-engine/work-rhel9, multicluster-engine/discovery-rhel8, multicluster-engine/discovery-rhel9, +61 more Red Hat Multicluster Global Hub multicluster-globalhub/multicluster-globalhub-agent-rhel9, multicluster-globalhub/multicluster-globalhub-grafana-rhel9, multicluster-globalhub/multicluster-globalhub-manager-rhel9, multicluster-globalhub/multicluster-globalhub-rhel9-operator, multicluster-globalhub/multicluster-globalhub-operator-bundle, multicluster-globalhub/multicluster-globalhub-postgres-exporter-rhel9, +1 more Red Hat Network Observability Operator network-observability/network-observability-cli-rhel9, network-observability/network-observability-rhel9-operator, network-observability/network-observability-ebpf-agent-rhel9, network-observability/network-observability-flowlogs-pipeline-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator, workload-availability/node-healthcheck-operator-bundle Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operator, workload-availability/node-maintenance-operator-bundle, container-native-virtualization/node-maintenance-operator Red Hat OpenShift API for Data Protection oadp/oadp-velero-rhel8, oadp/oadp-velero-rhel9, oadp/oadp-rhel8-operator, oadp/oadp-rhel9-operator, oadp/oadp-non-admin-rhel9, oadp/oadp-mustgather-rhel8, +17 more Red Hat OpenShift Developer Tools and Services helm, openshift4/ose-jenkins, ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9, ocp-tools-4/jenkins-agent-base-rhel8, ocp-tools-4/jenkins-agent-base-rhel9
44 more under investigation, 1 more fixed, 2 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.24.8 >=1.25.0, <1.25.2 |
1.24.8 1.25.2 |
| go | stdlib | <1.24.8 >=1.25.0, <1.25.2 |
1.24.8 1.25.2 |
Affected products
- Go standard library net/http
References
Sources
- CVE List CVE-2025-58186
- NVD CVE-2025-58186
- OSV BIT-golang-2025-58186
- OSV GO-2025-4012
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.