Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure user to connect to malicious RDP server
-
DeliveryEstablish RDP session and negotiate bitmap caching
-
ExploitServer sends crafted Cache Bitmap V2/V3 order
-
ExecutioncacheId mask/bounds flaw indexes cache out of bounds
-
PersistCorrupt or disclose client memory
-
ImpactAchieve code execution or info disclosure on client
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
|
| Exploitation Conditions | Exploitation requires the victim to actively establish an RDP session to an attacker-controlled or compromised/MITM'd RDP server using a FreeRDP-based client older than 3.27.1 (UI:R in the CVSS vector) - the client is the target, not a listening service, so there is no unauthenticated server-side entry point. No credentials or privileges on the victim host are needed (PR:N) and attack complexity is low (AC:L). Reaching the most affected code paths depends on bitmap caching being in use and, for the V3/codec-specific branches, on features such as BitmapCacheV3, RemoteFX, RemoteFX image, or NSCodec being negotiated/enabled for the connection; the core cacheId mask/index defect in the Cache Bitmap V2/V3 order parser is the primary trigger. Limiting factors: mandatory user-initiated connection to a hostile server, and applicability only to hosts running FreeRDP < 3.27.1. |
| Impact | The signals are mixed and point to a serious-but-not-yet-mass-exploited client vulnerability. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 8.8) is consistent with the code: the trigger is network-delivered data parsed by the client with low complexity and no client-side privileges, but it requires user interaction - the victim must initiate or be lured into an RDP session with an attacker-controlled server. This is a server-to-client (reverse) attack, not a remotely exploitable server flaw, which materially limits automatable, opportunistic exploitation. EPSS is low (0.45%, 36th percentile) and the vulnerability is not in CISA KEV, so there is no evidence of active exploitation; the low EPSS is congruent with the UI:R requirement. No SSVC decision data was provided. Bottom line: prioritize patching on hosts that make outbound RDP connections to untrusted or internet-reachable servers (jump boxes, admin workstations, connection brokers), but this is not a wormable, unauthenticated server-side RCE. Note the tag 'Information Disclosure' understates the assessed CIA-High impact from the memory-safety defect - treat impact as potential info disclosure and memory corruption. |
| Exploit ScenarioDerived | An attacker stands up a malicious RDP server (or compromises/MITMs a legitimate one) and lures a user to connect - via a phishing link, a rogue .rdp file, or a poisoned connection broker entry. During session setup the server sends a crafted Cache Bitmap V2/V3 order with a cacheId value in the previously-masked range, causing the pre-3.27.1 client to index bitmap cell caches out of bounds and corrupt or disclose client memory. No public exploit is identified at time of analysis, and success requires the low-complexity but mandatory step of the victim initiating the RDP connection (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jul 13, 2026
Client-side memory corruption in FreeRDP (all versions before 3.27.1) lets a malicious or compromised RDP server compromise a connecting client through improperly bounds-checked bitmap cache orders. The cacheId field of Cache Bitmap V2/V3 orders was masked to only two bits (0x0003) instead of three (0x0007) and used to index cell-cache arrays without validating it against the negotiated number of cells, enabling out-of-bounds access controlled by the server. There is no public exploit identified at time of analysis and EPSS is low (0.45%, 36th percentile), but the CVSS 8.8 reflects full confidentiality, integrity and availability impact once a user connects to the attacker's server.
Earlier versions of this analysis (4)
Heap memory corruption in the FreeRDP RDP client (all versions prior to 3.27.1) allows a malicious or compromised RDP server to disclose client memory and potentially corrupt the heap when a victim connects to it. The flaw stems from incorrect buffer-size/index handling while parsing Cache Bitmap Revision 3 (CACHE_BITMAP_V3) drawing orders, where the cacheId field was masked to only 2 bits and used without bounds checking. No public exploit has been identified at time of analysis, and EPSS exploitation probability is low (0.45%, 36th percentile).
Malicious RDP servers can trigger an out-of-bounds memory access in the FreeRDP client's Cache Bitmap V3 order parser (libfreerdp/core/orders.c), disclosing heap memory and potentially crashing the client. The flaw stems from an undersized cacheId bitmask and missing bounds/codec-enable validation when parsing CACHE_BITMAP_REV3_ORDER PDUs. No public exploit identified at time of analysis; the issue is fixed upstream in FreeRDP 3.27.1 and shipped by Alpine Linux as freerdp 3.27.1-r0.
Client-side memory corruption in FreeRDP (the open-source RDP client library, fixed in 3.27.1 / Alpine 3.27.1-r0) lets a malicious or compromised RDP server send crafted CACHE_BITMAP order data that a connecting client mis-parses, leading to out-of-bounds memory access. The root cause is an incorrect buffer-size/index calculation (CWE-131) in the bitmap-cache order reader, where the cacheId field was masked to too few bits and cell-cache bounds were not validated. No public exploit has been identified at time of analysis and it is not listed in CISA KEV, but the fix is confirmed upstream (PR 12899, commit e58adf9, GHSA-c495-h83v-3prp).
FreeRDP on Alpine Linux was patched at package version 3.27.1-r0, addressing an unspecified vulnerability in the open-source Remote Desktop Protocol client library. The disclosure originates solely from the Alpine Linux vendor advisory; no CVE description, CVSS score, CWE classification, or upstream FreeRDP security advisory has been included in the available intelligence. No public exploit and no CISA KEV listing have been identified at time of analysis, making real-world risk impossible to quantify without additional upstream data.
RemediationAI
Vendor-released patch: upgrade to FreeRDP 3.27.1 (on Alpine Linux install freerdp 3.27.1-r0 or later). This is the primary and recommended fix; the release is a tagged version at https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.1 and the security advisory is GHSA-c495-h83v-3prp. Downstream applications bundling FreeRDP should rebuild against 3.27.1+. If patching cannot be done immediately, reduce exposure by only connecting to trusted, known RDP servers and blocking or restricting outbound RDP (TCP/UDP 3389) to untrusted or internet destinations at the host or network firewall - the trade-off is that legitimate connections to external RDP hosts break. As a connection-level control, disabling the RemoteFX / RemoteFX image / NSCodec codecs and the V3 bitmap cache in the client configuration removes some of the newly-gated code paths, at the cost of degraded graphics performance; however, the core cacheId indexing flaw is best addressed only by the upgrade. Do not rely on workarounds as a substitute for the patch.
Affected VersionsENISA
Affected Packages
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 the dominant open-source implementation of the Microsoft Remote Desktop Protocol (RDP), used as the engine behind many Linux/Unix RDP clients (e.g. Remmina, GNOME Connections) and shipped in distributions such as Alpine Linux. The defect lives in libfreerdp/core/orders.c in the parsing of [MS-RDPEGDI] Cache Bitmap Revision 2/3 orders (CACHE_BITMAP_V2/V3_ORDER). The root cause is CWE-131 (Incorrect Calculation of Buffer Size / off-by bit-mask): cache_bitmap->cacheId was derived with flags & 0x0003 rather than flags & 0x0007, so a cacheId of up to 7 was truncated or, once corrected, could index beyond the allocated bitmap cell caches. The fix widens the mask to 0x0007 and adds explicit bounds checks (cacheId >= NumCellCaches, cacheId >= cache->bitmap->maxCells with goto fail), validates that the referenced codec - RemoteFX, NSCodec, RemoteFX image - is actually enabled for the connection before use, and gates BitmapCacheV3 on the FreeRDP_BitmapCacheV3Enabled setting. Related graphics.c changes harden the RemoteFX bitmap paint path and its size overflow check.
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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Network-delivered data parsed by the client with low complexity and no client privileges, but a user must connect to the malicious server (UI:R); memory corruption yields high C/I/A with no scope change.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionNVD
Alpine Linux: freerdp fixed in 3.27.1-r0
Executive ViewAI
FreeRDP versions prior to 3.27.1 contain a critical memory corruption vulnerability (CVSS 8.8) that enables complete compromise of any client connecting to a malicious RDP server, affecting confidentiality, integrity, and system availability. This impacts any organization using FreeRDP-from individual workstations to automated infrastructure-exposing them to client-side attack vectors when connecting to untrusted or compromised RDP endpoints. While no public exploit has been identified at time of analysis, the full impact potential requires immediate patching to version 3.27.1.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
EUVD-2026-43004
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB