CVE-2025-58189
JSON

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 packageVersionsReported by
crypto/tlsbefore 1.24.8, from 1.25.0 before 1.25.2CVE List
stdlib (Go)before 1.24.8, from 1.25.0 before 1.25.2Go Vulnerability Database
golang gobefore 1.24.8, from 1.25.0 before 1.25.2NVD
golang (Bitnami)before 1.24.8, from 1.25.0 before 1.25.2Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-117CWE-532

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-58189 changed 2025-11-04CVE Terms of Use
Go Vulnerability DatabaseGO-2025-4008 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-58189 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-58189 changed 2026-09-08Apache-2.0