{
  "id": "CVE-2026-66402",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66402",
  "published_at": "2026-08-01T12:22:17.331Z",
  "title": "FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass",
  "vendor": "FreeRDP",
  "product": "FreeRDP",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FreeRDP before 3.29.0 (affected versions \u003c= 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.",
  "cwe": "CWE-295",
  "cpes": [
    "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeRDP",
        "product": "FreeRDP",
        "ranges": [
          "\u003c 3.29.0"
        ],
        "fixed_in": [
          "3.29.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeRDP to 3.29.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-43hh-p3vw-hfx3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeRDP/FreeRDP/commit/b9533f07f98c25ed01c5f543b4d0ce73e120f5fd"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
