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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

History

02 Oct 2026, 19:08

Type Values Removed Values Added
First Time Freerdp freerdp
Freerdp
CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
References () https://github.com/FreeRDP/FreeRDP/commit/b9533f07f98c25ed01c5f543b4d0ce73e120f5fd - () https://github.com/FreeRDP/FreeRDP/commit/b9533f07f98c25ed01c5f543b4d0ce73e120f5fd - Patch
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-43hh-p3vw-hfx3 - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-43hh-p3vw-hfx3 - Vendor Advisory, Exploit, Mitigation
References () https://www.vulncheck.com/advisories/freerdp-before-tls-certificate-identity-validation-bypass - () https://www.vulncheck.com/advisories/freerdp-before-tls-certificate-identity-validation-bypass - Patch, Third Party Advisory

Information

Published : 2026-08-01 13:16

Updated : 2026-10-02 19:08


NVD link : CVE-2026-66402

Mitre link : CVE-2026-66402

CVE.ORG link : CVE-2026-66402


JSON object : View

Products Affected

freerdp

  • freerdp
CWE
CWE-295

Improper Certificate Validation