Skip to main content
EPSS 0.3%top 79%

FreeRDP before 3.29.0 (affected versions <= 3.28.0) contains multiple TLS certificate identity validation weaknesses in tls_verify_certificate(),… (CVE-2026-66402)

0
Medium
Published: 08/01/2026 (08/01/2026, 13:16:00 UTC)
Source: GCVE Database
Product: freerdp

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
freerdp/FreeRDP
pkg:github/freerdp/FreeRDP
Affected versions
<=3.28.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 21:25:12 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses