5.3

CVE-2025-58186: Lack of limit when parsing cookies can cause memory exhaustion in net/http

Deferred
AliasesUBUNTU-CVE-2025-58186DEBIAN-CVE-2025-58186CGA-2256-p4qp-gq2h
Published 29-10-2025Last modified 04-11-2025

Vulnerability summary

CVE-2025-58186 is a medium (CVSS 5.3) vulnerability in go standard library net/http. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 46.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.56%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 22 · Related 95
MGASA-2025-0256OPENSUSE-SU-2025:15608-1OPENSUSE-SU-2025:15609-1OPENSUSE-SU-2025:15695-1OPENSUSE-SU-2025:15723-1OPENSUSE-SU-2025:20157-1

Timeline

  1. 29-10-2025
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.56% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard199 products
  • age< 1.2.1-r8
  • age-fips< 1.2.1-r8
  • amass< 5.0.1-r1
  • amazon-k8s-cni-fips< 1.20.4-r2
  • amazon-k8s-cni-init-fips< 1.20.4-r2
Alpine1 product
  • go< 1.24.8-r0 | < 1.25.2-r0

2 vendors · 200 products · Showing 200 of 2335

References

13 links
Show all 13 references