FreeRDP before 3.29.0 (affected versions <= 3.28.0) contains multiple TLS certificate identity validation weaknesses in tls_verify_certificate(),… (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.
AI Analysis
Technical Summary
FreeRDP before version 3.29.0 (specifically versions <= 3.28.0) has multiple TLS certificate identity validation weaknesses in the functions tls_verify_certificate(), tls_match_hostname(), and x509_utils_get_dns_names(). Instead of using OpenSSL's length-aware identity validation APIs, FreeRDP performs custom string matching that truncates DNS SAN values at embedded NUL bytes, accepts a matching Common Name even if DNS SAN entries do not match, and accepts IP-literal targets via DNS/CN matching without verifying iPAddress SANs. These issues allow an attacker presenting a trusted or misissued certificate with crafted fields to bypass server identity verification, weakening TLS server authentication.
Potential Impact
An attacker who can present a trusted or misissued TLS certificate exploiting these validation weaknesses can bypass FreeRDP's server identity verification. This compromises the authenticity of the TLS server, potentially enabling man-in-the-middle attacks, data interception, or impersonation of legitimate servers. The CVSS score of 9.8 indicates critical impact with high confidentiality, integrity, and availability consequences.
Mitigation Recommendations
A fix is available in FreeRDP version 3.29.0 that addresses these TLS certificate validation weaknesses. Users should upgrade to version 3.29.0 or later to remediate this vulnerability. Until upgraded, users should be aware of the risk of TLS server authentication bypass. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.
FreeRDP before 3.29.0 (affected versions <= 3.28.0) contains multiple TLS certificate identity validation weaknesses in tls_verify_certificate(),… (CVE-2026-66402)
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.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FreeRDP before version 3.29.0 (specifically versions <= 3.28.0) has multiple TLS certificate identity validation weaknesses in the functions tls_verify_certificate(), tls_match_hostname(), and x509_utils_get_dns_names(). Instead of using OpenSSL's length-aware identity validation APIs, FreeRDP performs custom string matching that truncates DNS SAN values at embedded NUL bytes, accepts a matching Common Name even if DNS SAN entries do not match, and accepts IP-literal targets via DNS/CN matching without verifying iPAddress SANs. These issues allow an attacker presenting a trusted or misissued certificate with crafted fields to bypass server identity verification, weakening TLS server authentication.
Potential Impact
An attacker who can present a trusted or misissued TLS certificate exploiting these validation weaknesses can bypass FreeRDP's server identity verification. This compromises the authenticity of the TLS server, potentially enabling man-in-the-middle attacks, data interception, or impersonation of legitimate servers. The CVSS score of 9.8 indicates critical impact with high confidentiality, integrity, and availability consequences.
Mitigation Recommendations
A fix is available in FreeRDP version 3.29.0 that addresses these TLS certificate validation weaknesses. Users should upgrade to version 3.29.0 or later to remediate this vulnerability. Until upgraded, users should be aware of the risk of TLS server authentication bypass. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-759r-h698-g7xj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-66402"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a6e6299bf32cb7a344f9ed5
Added to database: 08/01/2026, 21:18:17 UTC
Last enriched: 08/01/2026, 21:25:12 UTC
Last updated: 09/15/2026, 10:01:33 UTC
Views: 154
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.