---
title: "CVE-2025-58186"
canonical_url: "https://pkgseek.com/security/CVE-2025-58186"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2025-58186

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.

CVE-2025-58186 is rated MEDIUM (5.3), with 33 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 33
- **Affected distros**: 3
- **Distros with fixed_in**: openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | golang-1.24 | 1.24.4-1 | — |
| Debian | trixie | golang-1.24-doc | 1.24.4-1 | — |
| Debian | trixie | golang-1.24-go | 1.24.4-1 | — |
| Debian | trixie | golang-1.24-src | 1.24.4-1 | — |
| openSUSE | 15.6 | go1.24 | 1.24.7-150000.1.37.1 | 1.24.9-150000.1.42.1 |
| openSUSE | 15.6 | go1.24-doc | 1.24.7-150000.1.37.1 | 1.24.9-150000.1.42.1 |
| openSUSE | 15.6 | go1.24-openssl | 1.24.7-150600.13.12.1 | 1.24.12-150600.13.15.1 |
| openSUSE | 15.6 | go1.24-openssl-doc | 1.24.7-150600.13.12.1 | 1.24.12-150600.13.15.1 |
| openSUSE | 15.6 | go1.24-openssl-race | 1.24.7-150600.13.12.1 | 1.24.12-150600.13.15.1 |
| openSUSE | 15.6 | go1.24-race | 1.24.7-150000.1.37.1 | 1.24.9-150000.1.42.1 |
| openSUSE | 15.6 | go1.25 | 1.25.1-150000.1.11.1 | 1.25.2-150000.1.14.1 |
| openSUSE | 15.6 | go1.25-doc | 1.25.1-150000.1.11.1 | 1.25.2-150000.1.14.1 |
| openSUSE | 15.6 | go1.25-openssl | 1.25.1-150600.13.6.1 | 1.25.6-150600.13.9.1 |
| openSUSE | 15.6 | go1.25-openssl-doc | 1.25.1-150600.13.6.1 | 1.25.6-150600.13.9.1 |
| openSUSE | 15.6 | go1.25-openssl-race | 1.25.1-150600.13.6.1 | 1.25.6-150600.13.9.1 |
| openSUSE | 15.6 | go1.25-race | 1.25.1-150000.1.11.1 | 1.25.2-150000.1.14.1 |
| Ubuntu | focal | golang-1.13 | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-doc | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-go | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-src | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14 | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-doc | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-go | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-src | 1.14.2-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.17-doc | 1.17.3-1ubuntu2 | — |
| Ubuntu | jammy | golang-1.18 | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-doc | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-go | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-src | 1.18.1-1ubuntu1 | — |
| Ubuntu | noble | golang-1.22 | 1.22.2-2 | — |
| Ubuntu | noble | golang-1.22-doc | 1.22.2-2 | — |
| Ubuntu | noble | golang-1.22-go | 1.22.2-2 | — |
| Ubuntu | noble | golang-1.22-src | 1.22.2-2 | — |
