# CVE-2026-66402: FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-01T12:22:17.331Z
- Modified: 2026-10-02T19:08:13.673Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: before 3.29.0 (not affected: 3.29.0)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-66402](https://www.cve.org/CVERecord?id=CVE-2026-66402), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-66402](https://nvd.nist.gov/vuln/detail/CVE-2026-66402), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-66402 · Whole record: https://cve.day/CVE-2026-66402.json · Rebuilt by cve.day 2026-11-25T22:59:30.768Z
