Advisory

UBUNTU-CVE-2026-66402

Also known as: CVE-2026-66402

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-08-01 13:16 UTC
Modified
2026-08-17 23:45 UTC

Affected packages and fixes

freerdp

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.30.0+dfsg-0ubuntu0.24.04.1 (ecosystem)

Fixed versions

3.30.0+dfsg-0ubuntu0.24.04.1

Fix

  • Fixed version 3.30.0+dfsg-0ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

freerdp3

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.30.0+dfsg-0ubuntu0.26.04.1 (ecosystem)

Fixed versions

3.30.0+dfsg-0ubuntu0.26.04.1

Fix

  • Fixed version 3.30.0+dfsg-0ubuntu0.26.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences