Skip to main content

FreeRDP EUVDEUVD-2026-62667

| CVE-2026-55194 HIGH
Heap-based Buffer Overflow (CWE-122)
N/A vendor:alpine
8.7
CVSS 4.0 · Vendor: vendor:alpine
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls or compromises RDP Gateway server
  2. Delivery
    Victim initiates FreeRDP session through gateway
  3. Exploit
    Server returns crafted RPC PDU with inflated alloc_hint
  4. Execution
    Stream_EnsureCapacity allocates undersized heap buffer
  5. Persist
    Write of StubLength bytes overflows buffer boundary
  6. Impact
    Heap corruption enables arbitrary code execution as client user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be running FreeRDP prior to version 3.27.0 and must route their RDP session through an RDP Gateway (RDG/RPC-over-HTTP) - standard direct RDP connections that bypass the gateway code path are not affected. The attacker must control or compromise the gateway server that the FreeRDP client connects to, as the vulnerability is triggered by crafted server-to-client RPC PDU responses; no client-side authentication or privilege is required from the attacker. The victim must actively initiate the connection (UI:P), ruling out passive exploitation. Non-default gateway configurations are not required - any use of the built-in FreeRDP gateway client against a malicious server is sufficient. Exploitation is limited to the client session context and does not imply lateral movement unless the compromised client holds credentials or access to further systems.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) reflects a network-reachable, low-complexity flaw with full client-side impact, tempered only by the UI:P requirement that the victim user actively initiate an RDP gateway session. In practice, this bar is cleared by any routine use of FreeRDP through an RDP Gateway, meaning exploitation is a realistic threat in environments where users connect to external or organizationally-managed gateways. No EPSS data was provided in the available intelligence, and the CVE is not listed in CISA KEV, so confirmed in-the-wild exploitation is not established. However, heap overflows in network-facing PDU parsing paths (CWE-122) historically yield reliable exploits once the off-by-one or size-mismatch primitive is understood, and the public availability of the fix commit makes root-cause analysis straightforward for researchers. Even a mid-sized municipal IT team in opole operating remote-access infrastructure via FreeRDP should treat this as a priority patch - the attack requires only that a user connect to a server under attacker influence, with no authenticated attacker-side prerequisites. The absence of a known weaponized POC and KEV listing moderates but does not eliminate urgency.

Exploit ScenarioDerived

An attacker deploys or compromises an RDP Gateway server and advertises it to potential victims, or positions themselves to intercept gateway traffic. When a FreeRDP user initiates a session through the malicious gateway, the server returns an RPC PDU fragment with an inflated alloc_hint value, causing FreeRDP to allocate an undersized heap buffer and then write beyond its bounds with actual stub data - overwriting adjacent heap structures and enabling arbitrary code execution in the context of the connecting user.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 19, 2026

Heap-based buffer overflow in FreeRDP's Remote Desktop Gateway RPC client allows a malicious or attacker-controlled gateway server to corrupt heap memory on a connecting client, potentially achieving arbitrary code execution. The flaw resides in libfreerdp/core/gateway/rpc_client.c, where stream capacity was sized against a server-supplied alloc_hint value rather than the actual stub data length, enabling a server to induce an undersized allocation followed by an out-of-bounds write. Alpine Linux freerdp packages prior to 3.27.1-r0 and upstream FreeRDP releases prior to 3.27.0 are confirmed affected. No confirmed active exploitation or CISA KEV listing exists at time of analysis.

Earlier versions of this analysis (1)
v1 Jun 29, 2026 - 13:31

FreeRDP on Alpine Linux received a security fix in package version 3.27.1-r0, addressing an unspecified vulnerability in the open-source Remote Desktop Protocol client implementation. The nature, impact class, and attack vector of the underlying flaw are not disclosed in the available intelligence - only the Alpine Linux vendor advisory confirms a fix was issued. No exploitation status, CVSS score, or CWE classification is available at time of analysis.

RemediationAI

Upgrade FreeRDP to version 3.27.0 or later; Alpine Linux users should update the freerdp package to 3.27.1-r0 or later via the standard apk upgrade mechanism. The upstream release is available at https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0 and the security advisory is published at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx. For environments where immediate patching is not feasible, a targeted compensating control is to restrict FreeRDP usage exclusively to connections against organizationally-controlled and verified RDP Gateway servers - this eliminates the risk from attacker-operated gateways while preserving legitimate access; however, it does not protect against compromise of trusted gateways. As a stronger temporary measure, blocking outbound gateway connections (TCP 443 to non-approved gateway endpoints) via firewall policy prevents exploitation at the cost of limiting external RDP gateway access. Both workarounds should be treated as interim only, as the upstream patch is available.

Affected VersionsENISA

FreeRDP < 3.27.0

Affected Packages

euvd freerdp fix: 3.27.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FreeRDP is an open-source implementation of Microsoft's Remote Desktop Protocol used extensively on Linux desktops and in enterprise remote-access tooling. The vulnerable code path is in the RPC-over-HTTP gateway client (rpc_client.c), which handles connections through an RDG (Remote Desktop Gateway) - a Microsoft infrastructure component for brokering RDP sessions over HTTPS. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: the function rpc_client_recv_fragment() invoked Stream_EnsureCapacity(pdu->s, response->alloc_hint), where alloc_hint is a server-controlled field from the incoming RPC PDU. Because alloc_hint may exceed the actual stub data length (StubLength), the buffer could be allocated at a size insufficient to safely receive subsequent writes at the current stream position. The upstream fix, visible in commit 9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a via GitHub PR #12873, replaces the call with Stream_EnsureRemainingCapacity(pdu->s, StubLength), ensuring expansion is based on the actual bytes to be written rather than a server-supplied hint. Affected CPE covers FreeRDP versions prior to 3.27.0.

Know when Freerdp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vendor:alpine) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable server-to-client flaw; user must initiate gateway connection (UI:R); attacker needs no privileges as they control the server side; impact is fully client-scoped.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
Aug 19, 2026 - 19:18 EUVD
Analysis Updated
Aug 19, 2026 - 18:29 vuln.today
v2 - CVSS changed
CVSS changed
Aug 19, 2026 - 18:22 NVD
8.7 (HIGH)

DescriptionCVE.org

Alpine Linux: freerdp fixed in 3.27.1-r0

Executive ViewAI

Why It Matters

FreeRDP Remote Desktop Gateway library (versions prior to 3.27.0) contains a memory corruption vulnerability allowing arbitrary code execution when clients connect to compromised servers. This impacts organizations with FreeRDP deployments in Alpine Linux and upstream environments, potentially exposing client endpoints to remote system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch: FreeRDP 3.27.0 (upstream) or 3.27.1-r0 (Alpine Linux).

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
open-source RDP client common in Linux enterprise remote-access environments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy