Skip to main content

FreeRDP EUVDEUVD-2026-43004

| CVE-2026-55827 HIGH
Incorrect Calculation of Buffer Size (CWE-131)
N/A vendor:alpine
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Lure user to connect to malicious RDP server
  2. Delivery
    Establish RDP session and negotiate bitmap caching
  3. Exploit
    Server sends crafted Cache Bitmap V2/V3 order
  4. Execution
    cacheId mask/bounds flaw indexes cache out of bounds
  5. Persist
    Corrupt or disclose client memory
  6. Impact
    Achieve 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).

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

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

Alert me

AnalysisAIv5 – 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)
v4 Jul 13, 2026 - 23:00 cvss changed CVSS 8.8

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).

v3 Jul 10, 2026 - 20:29 cvss changed CVSS 7.5

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.

v2 Jul 10, 2026 - 20:29 cvss changed CVSS 7.5

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).

v1 Jun 29, 2026 - 13:31

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

FreeRDP < 3.27.1

Affected Packages

euvd freerdp fix: 3.27.1

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

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:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Jul 13, 2026 - 23:01 vuln.today
v5 - CVSS changed
Analysis Updated
Jul 13, 2026 - 23:00 vuln.today
v4 - CVSS changed
CVSS changed
Jul 13, 2026 - 22:52 NVD
7.5 (HIGH) 8.8 (HIGH)
Patch available
Jul 10, 2026 - 21:02 EUVD
Analysis Updated
Jul 10, 2026 - 20:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 10, 2026 - 20:29 vuln.today
v2 - CVSS changed
CVSS changed
Jul 10, 2026 - 20:22 NVD
7.5 (HIGH)

DescriptionNVD

Alpine Linux: freerdp fixed in 3.27.1-r0

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 64% exploitable
Prevalence
High
de facto standard open-source RDP client, embedded in many Linux remote-desktop tools
Data Quality
5 sources
Confidence: Medium

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.5%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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