CVE-2025-58186
Last modified
CVE-2025-58186 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-58186?
How severe is CVE-2025-58186?
How do I fix CVE-2025-58186?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-58180OctoPrint provides a web interface for controlling consumer …8.8
- CVE-2025-58181SSH servers parsing GSSAPI authentication requests do not va…5.3
- CVE-2025-58182Rejected reason: reserved but not needed
- CVE-2025-58183tar.Reader does not set a maximum size on the number of spar…4.3
- CVE-2025-58184Rejected reason: reserved but not needed
- CVE-2025-58185Parsing a maliciously crafted DER payload could allocate lar…5.3
- CVE-2025-58187Due to the design of the name constraint checking algorithm,…7.5
- CVE-2025-58188Validating certificate chains which contain DSA public keys …7.5
- CVE-2025-58189When Conn.Handshake fails during ALPN negotiation the error …5.3
- CVE-2025-5819An issue has been discovered in GitLab CE/EE affecting all v…5
- CVE-2025-58190The html.Parse function in golang.org/x/net/html has an infi…5.3
- CVE-2025-58192Missing Authorization vulnerability in Xylus Themes WP Bulk …5.4
Are you affected by CVE-2025-58186?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
