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

Published Aug 1, 2026
·
Updated

FreeRDP versions 3.28.0 and earlier contain a heap buffer overflow in the server-side RAIL channel handler (railserverhandlemessages() in channels/rail/server/railmain.c). When processing a RAIL PDU header, the code subtracts RAILPDUHEADERLENGTH 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 StreamEnsureRemainingCapacity() 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.

Affected Software

1 affected component
FreeRDP freerdp<=3.28.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeRDP to a version that resolves this vulnerability.

    Fixed in 3.29.0
  2. Compensating control

    If you cannot immediately upgrade FreeRDP, restrict RDP/Rail access so untrusted or unverified clients cannot reach the affected server-side RAIL channel (rail_server_handle_messages()).

Event History

Aug 1, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-67298?

CVE-2026-67298 has a severity rating of 7.5, categorized as high.

2

How do I fix CVE-2026-67298?

To mitigate CVE-2026-67298, upgrade FreeRDP to version 3.29.0 or later.

3

What kind of vulnerability is CVE-2026-67298?

CVE-2026-67298 is a heap buffer overflow vulnerability caused by an integer underflow in FreeRDP.

4

Who is affected by CVE-2026-67298?

FreeRDP versions 3.28.0 and earlier are affected by CVE-2026-67298.

5

What are the potential impacts of CVE-2026-67298?

Exploitation of CVE-2026-67298 may lead to a denial of service due to the heap buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203