CVEfocus › CVE database › CVE-2026-67298

CVE-2026-67298FreeRDP 3.28.0 Heap Buffer Overflow via RAIL orderLength Underflow

CVSS 7.5 HighEPSS 0.7% (higher than 50% of CVEs)Published 2026-08-01Updated 2026-08-03Assigner: VulnCheck

FreeRDP versions 3.28.0 and earlier contain a heap buffer overflow in the server-side RAIL channel handler (rail_server_handle_messages() in channels/rail/server/rail_main.c). When processing a RAIL PDU header, the code subtracts RAIL_PDU_HEADER_LENGTH from the peer-controlled orderLength field without first verifying orderLength is at least the header length. For orderLength values 0..3 this causes an unsigned integer underflow to a very large size, which bypasses the Stream_EnsureRemainingCapacity() capacity check (due to pointer arithmetic wraparound) and is then passed to WTSVirtualChannelRead(), resulting in an out-of-bounds heap write. A malicious or compromised RDP client can exploit this to corrupt the heap and crash the server. Fixed in FreeRDP 3.29.0.

CWE-191

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
7Fix pending
1Under investigation
4Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04freerdp3Fixed3.30.0+dfsg-0ubuntu0.26.04.1UBUNTU-CVE-2026-67298
Ubuntu 24.04freerdp2Fix pendingUBUNTU-CVE-2026-67298
Ubuntu 24.04freerdp3Fixed3.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-67298
Ubuntu 22.04freerdp2Under investigationUBUNTU-CVE-2026-67298
Ubuntu 20.04freerdp2Fix pendingUBUNTU-CVE-2026-67298
Ubuntu 18.04freerdpFix pendingUBUNTU-CVE-2026-67298
Ubuntu 18.04freerdp2Fix pendingUBUNTU-CVE-2026-67298
Ubuntu 16.04freerdpFix pendingUBUNTU-CVE-2026-67298
Debian 14freerdp3Fixed3.29.0+dfsg-1DEBIAN-CVE-2026-67298
Debian 13freerdp3Fix pendingDEBIAN-CVE-2026-67298
Debian 12freerdp2Fix pendingDEBIAN-CVE-2026-67298
Red Hat Enterprise Linux 10freerdpFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 10freerdp-develFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 10freerdp-libsFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 10freerdp-serverFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 10libwinprFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 10libwinpr-develFixed2:3.10.3-12.el10_2.10RHSA-2026:61378
Red Hat Enterprise Linux 9freerdpNot affected
Red Hat Enterprise Linux 9freerdp-develNot affected
Red Hat Enterprise Linux 9freerdp-libsNot affected
Red Hat Enterprise Linux 9libwinprNot affected
Red Hat Enterprise Linux 9libwinpr-develNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 8freerdp-develNot affected
Red Hat Enterprise Linux 8freerdp-libsNot affected
Red Hat Enterprise Linux 8libwinprNot affected
Red Hat Enterprise Linux 8libwinpr-develNot affected
Red Hat Enterprise Linux 6freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Out of support scope
AlmaLinux 10freerdpFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
AlmaLinux 10freerdp-develFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
AlmaLinux 10freerdp-libsFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
AlmaLinux 10freerdp-serverFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
AlmaLinux 10libwinprFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
AlmaLinux 10libwinpr-develFixed2:3.10.3-12.el10_2.10ALSA-2026:61378
Rocky Linux 10freerdpFixed2:3.10.3-12.el10_2.10RLSA-2026:61378

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.