9.3critical
FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.51% (higher than 37% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeRDP FreeRDP | before 3.29.0 Not affected: 3.29.0 | CVE List, NVD |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-43hh-p3vw-hfx3 | exploit, mitigation, vendor-advisory | |
| https://github.com/FreeRDP/FreeRDP/commit/b9533f07f98c25ed01c5f543b4d0ce73e120f5fd | patch | |
| https://www.vulncheck.com/advisories/freerdp-before-tls-certificate-identity-validation-bypass | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-66402 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-66402 changed 2026-10-02 | Public domain |