CVE-2025-58189Published Oct 29, 2025 · Oct 29Updated Oct 28
ALPN negotiation error contains attacker controlled information in crypto/tls
Go standard library crypto/tls
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original 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.
From the CVE record · Go