CVE-2026-67298
Received Received - Intake

Heap Buffer Overflow in FreeRDP

Vulnerability report for CVE-2026-67298, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-01

Last updated on: 2026-08-01

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-01
Last Modified
2026-08-01
Generated
2026-08-01
AI Q&A
2026-08-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
freerdp freerdp to 3.29.0 (exc)
freerdp freerdp 3.29.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-191 The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a heap buffer overflow in FreeRDP versions 3.28.0 and earlier. The issue occurs in the server-side RAIL channel handler when processing a RAIL PDU header. The code subtracts a fixed header length from a peer-controlled field without validating it first. If the field is too small (0 to 3), this causes an integer underflow leading to a very large size. This bypasses safety checks and allows an out-of-bounds heap write when reading data from a malicious or compromised RDP client.

Impact Analysis

If you run a FreeRDP server using an affected version, a malicious RDP client could crash the server or corrupt its memory. This could lead to denial of service or potentially allow code execution on the server, depending on the server's configuration and defenses.

Mitigation Strategies

Update FreeRDP to version 3.29.0 or later to address the heap buffer overflow in the RAIL channel handler. Monitor RDP connections for unusual activity and restrict access to trusted clients only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-67298. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart