CVE-2025-58186
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-58186, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-29

Last updated on: 2025-11-04

Assigner: Go Project

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-29
Last Modified
2025-11-04
Generated
2026-07-06
AI Q&A
2025-10-30
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
golang go From 1.25.0 (inc) to 1.25.2 (inc)
golang go 1.25.2
golang go 1.24.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs because while HTTP headers have a default size limit of 1MB, there is no limit on the number of cookies that can be parsed. An attacker can exploit this by sending many very small cookies (e.g., "a=;"), causing the HTTP server to allocate a large number of data structures, which leads to excessive memory consumption.

Impact Analysis

The vulnerability can cause an HTTP server to consume a large amount of memory, potentially leading to degraded performance, denial of service, or server crashes due to resource exhaustion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-58186. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart