CVE-2025-58189
Medium
Description
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
SeverityMedium
CVSS5.3
Exploit probability—
ProductGo
PublishedOct 29, 2025
First seenOct 29, 2025
Weakness typeCWE-117CWE-117
How to fix
Update
- golang go1.24.8, 1.25.2 or later
- stdlib1.24.8, 1.25.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.24.8, 1.25.0 ≤ v < 1.25.2 | 1.24.8, 1.25.2 |
| stdlibGo | v < 1.24.8, 1.25.0 ≤ v < 1.25.2 | 1.24.8, 1.25.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.