CVE-2025-58189 Details
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.
A vulnerability exists in the Go programming language's crypto/tls package, specifically in versions prior to 1.24.8 and between 1.25.0 and 1.25.2. During the ALPN (Application-Layer Protocol Negotiation) handshake process, if an error occurs, the error message can unintentionally reveal attacker-controlled information, specifically the ALPN protocols sent by the client. This unescaped information could be exploited by injecting arbitrary text into logs, potentially leading to log injection issues.
Users can upgrade to Go versions 1.25.2 or 1.24.8, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | CVE | Mailing ListRelease NotesThird Party Advisory |
| https://go.dev/cl/707776 | [email protected] | Patch |
| https://go.dev/issue/75652 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2025-4008 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-532 | Insertion of Sensitive Information into Log File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.24.8 >= 1.25.0, < 1.25.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Oct 30, 2025 | CVE Modified | CISA-ADP |
| Oct 29, 2025 | New CVE Received | [email protected] |