CVE-2026-66402
JSON

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 packageVersionsReported by
FreeRDP FreeRDPbefore 3.29.0
Not affected: 3.29.0
CVE List, NVD

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-66402 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-66402 changed 2026-10-02Public domain