Ubuntu CVE Tracker
UBUNTU-CVE-2025-58186
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.6 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.8 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.9 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.14 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.17 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.24 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.25 | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.24 | All versions, no fix listed |
| Ubuntu:25.10 | golang-1.23 | All versions, no fix listed |
| Ubuntu:25.10 | golang-1.24 | All versions, no fix listed |
| Ubuntu:25.10 | golang-1.25 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.24 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-58186
- https://www.cve.org/CVERecord?id=CVE-2025-58186
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI/m/qZN5nc-mBgAJ
- https://github.com/golang/go/issues/75672
- https://github.com/golang/go/commit/100c5a66802b5a895b1d0e5ed3b7918f899c4833
- https://github.com/golang/go/commit/c6b04dd33b0215f5deb83724661921842bf67607