CVE Database
/

CVE-2025-58186

Back to search

CVE-2025-58186

Published: Oct 29, 2025

Modified: Nov 4, 2025

PUBLISHED

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.

VendorProductVersions

Go standard library

net/http

affected
0 - < 1.24.8
affected
1.25.0 - < 1.25.2

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now