CVE-2025-58189
5.3medium
ALPN negotiation error contains attacker controlled information in crypto/tls
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2025-4008BIT-GOLANG-2025-58189
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crypto/tls | before 1.24.8, from 1.25.0 before 1.25.2 | CVE List |
| stdlib (Go) | before 1.24.8, from 1.25.0 before 1.25.2 | Go Vulnerability Database |
| golang go | before 1.24.8, from 1.25.0 before 1.25.2 | NVD |
| golang (Bitnami) | before 1.24.8, from 1.25.0 before 1.25.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
NVD (es)
Cuando Conn.Handshake falla durante la negociación ALPN, el error contiene información controlada por el atacante (los protocolos ALPN enviados por el cliente) que no está escapada.
References
| https://go.dev/cl/707776 | fix, patch | |
| https://go.dev/issue/75652 | issue-tracking, report | |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2025-4008 | advisory, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | advisory, mailing-list, release-notes, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-58189 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58189 changed 2025-11-04 | CVE Terms of Use |
| Go Vulnerability Database | GO-2025-4008 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2025-58189 changed 2026-10-08 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-58189 changed 2026-09-08 | Apache-2.0 |