CVE-2025-58189

MEDIUM5.3EPSS 0.02%

ALPN negotiation error contains attacker controlled information in crypto/tls

Published: 10/29/2025Modified: 5/15/2026
Also known as:BIT-golang-2025-58189CGA-cgc5-pp5m-vvfrGO-2025-4008

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 packages (6)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References (7)