CVE Catalog

CVE-2025-58189

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.47%

39th percentile - higher than 39% of all known CVEs

Summary

When Conn.Handshake fails during ALPN negotiation, the error contains attacker-controlled information (the ALPN protocols sent by the client) which is not escaped. This could lead to injection into logs or responses.

Risk Assessment

An attacker could inject malicious data into error messages, potentially leading to log poisoning and, in some cases, further attacks (e.g., XSS, command injection).

Recommendation

Update the library to a version that escapes input in ALPN error messages, or implement output filtering/escaping in logs.

Related vulnerabilities

Original NVD description (English source)

When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS