Vulnerability in Freerdp
CVE-2026-66402
FreeRDP before 3.29.0 (affected versions <= 3.28.0) contains multiple TLS certificate identity validation weaknesses in tls_verify_certificate(), tls_match_hostname(), and x509_utils_get_dns_names(). Because FreeRDP performs custom Common Name and DNS SAN string matching instead of using OpenSSL's length-aware identity validation APIs, it (1) truncates DNS SAN values at embedded NUL bytes (accepting e.g. 'victim.example\0.attacker.example' as 'victim.example'), (2) accepts a matching Common Name even when non-matching DNS SAN entries are present, and (3) accepts IP-literal targets via DNS/CN matching without comparing iPAddress SANs. Under a trusted or misissued certificate chain, an attacker positioned to present such a certificate can bypass server identity verification, weakening TLS server authentication.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 27.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions 0, 3.29.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-43hh-p3vw-hfx3) (vendor-advisory, Exploit, Mitigation, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass (Patch, Third Party Advisory, third-party-advisory)