CVE-2025-58186 - CVE House
Back to Database
Status published Unknown CVE-2025-58186

Lack of limit when parsing cookies can cause memory exhaustion in net/http

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-58186

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • jub0bs

Affected Vendor

Go standard library

View all reports →

Affected Software

net/http
Vulnerable Versions:
0, 1.25.0

Timeline

Official Publish: October 29th, 2025
Last Modified: November 4th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.