Skip to main content

FreeRDP CVE-2026-64620

| EUVDEUVD-2026-45935 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-07-20 disclosure@vulncheck.com GHSA-xmhx-cqxp-qrgq
9.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Connect to exposed FreeRDP server
  2. Delivery
    Retrieve server's published RSA public key
  3. Exploit
    Forge oversized encrypted client random
  4. Execution
    Server decrypts into 32-byte heap buffer
  5. Persist
    Out-of-bounds heap write corrupts memory
  6. Impact
    Service crash (denial of service)

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

Exploitation requires a FreeRDP-based RDP server (versions <=3.27.1) reachable over the network where the client is permitted to negotiate RDP Standard Security - that Standard Security path is the exact prerequisite that reaches the vulnerable crypto_rsa_common() decryption into the 32-byte buffer. No authentication and no user interaction are needed (CVSS PR:N/UI:N), and the attacker leverages the server's own published RSA public key to forge the oversized ciphertext. The key limiting factor is configuration and role: only the server side is affected, and only when Standard Security is offered/accepted; servers that mandate Enhanced RDP Security (TLS/NLA) and disable Standard Security are not reachable through this path, and pure FreeRDP client deployments are not targets.

Impact

The published CVSS 4.0 score is 9.3 (Critical) with vector AV:N/AC:L/AT:N/PR:N/UI:N and VC:H/VI:H/VA:H, but there is a clear internal conflict: the description states the demonstrated impact is denial of service only, yet the vector claims High confidentiality AND integrity AND availability impact. That VC:H/VI:H rating appears to overstate real impact - an OOB heap write of attacker-controlled bytes could in principle corrupt memory in ways beyond a crash, but the advisory itself characterizes the outcome as DoS, so the confidentiality/integrity Highs are not substantiated by the provided data and should be verified with the vendor. The exposure signals that are solid are strong: network vector, low complexity, no privileges, no user interaction, and pre-authentication reachability make this easy to trigger against any exposed FreeRDP-based server using Standard Security. Mitigating the urgency: no EPSS score, no KEV listing, and no public PoC were provided, so there is currently no evidence of active exploitation or a ready-made weapon - the practical priority is 'patch promptly on exposed servers' rather than 'emergency, being exploited now.' Note also that this is a server-side issue; the far more common FreeRDP client deployments are not the target here.

Exploit ScenarioDerived

An attacker who can reach an internet-exposed FreeRDP-based server retrieves the server's published RSA public key during the RDP handshake, then forges an 'encrypted client random' whose RSA-decrypted plaintext is as long as the full modulus (e.g., 256 bytes). When the server selects Standard Security and decrypts this value into its fixed 32-byte heap buffer, roughly 224 attacker-controlled bytes are written out of bounds, corrupting the heap and crashing the service - all before authentication. No public exploit code was identified at time of analysis, but the low-complexity, unauthenticated nature makes weaponization straightforward.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 20, 2026

Denial of service in FreeRDP servers (versions <=3.27.1) allows unauthenticated remote attackers to crash the service by forging a malicious encrypted client random during RDP Standard Security negotiation. Because the server publishes its RSA public key, an attacker can craft a ciphertext whose decrypted plaintext spans the full RSA modulus (up to 256 bytes for RSA-2048), overflowing a fixed 32-byte heap buffer in crypto_rsa_common() by roughly 224 attacker-controlled bytes before any authentication occurs. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the fix landed in FreeRDP 3.28.0.

RemediationAI

Vendor-released patch: upgrade to FreeRDP 3.28.0 or later, which reorders the bounds check before the BN_bn2bin() write in crypto_rsa_common(); this is the primary and complete fix (reference GHSA-pjqx-v446-x7fc and commit 1f7a716d39b5605bb8a83b0c3c97a6ce386609ef). Because the vulnerability is only reachable when a client selects RDP Standard Security, an effective interim workaround is to configure the FreeRDP-based server to require Enhanced RDP Security (TLS/CredSSP/NLA) and disable RDP Standard Security, which removes the vulnerable decryption path - the trade-off is that legacy clients that only support Standard Security will no longer be able to connect. Where the server cannot be reconfigured quickly, restrict network reachability by firewalling the RDP listener (TCP 3389) to trusted management networks or placing it behind a VPN, accepting the trade-off of reduced accessibility for remote users until the patch is applied. Rebuild and redeploy any downstream products or distribution packages that statically bundle FreeRDP.

Affected VersionsENISA

FreeRDP 0 <3.28.0

Affected Packages

euvd freerdp fix: 3.28.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 a widely used open-source implementation of the Remote Desktop Protocol (RDP), providing both client and server components. The bug lives in libfreerdp/crypto/crypto.c, in crypto_rsa_common(), which performs modular exponentiation for RSA operations and writes the result into a caller-supplied output buffer using OpenSSL's BN_bn2bin(). The ordering error is the root cause: BN_bn2bin() writes output_length bytes into the destination first, and only afterward is the check output_length > out_length performed - an out-of-bounds write that has already happened by the time the bounds check runs (classic CWE-122, heap-based buffer overflow). On the server side, when a client selects RDP Standard Security, the server decrypts the client-supplied encrypted client random into a fixed 32-byte heap buffer; since the RSA public key is published by the server, an attacker fully controls the plaintext length up to the modulus size, making the overflow trivially reachable pre-authentication.

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 (vulncheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network trigger with low complexity (AV:N/AC:L/PR:N/UI:N); vendor describes impact as denial of service only, so C:N/I:N and A:H rather than the input's overstated confidentiality/integrity Highs.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Red Hat 8.1 HIGH

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
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

2
Patch available
Jul 20, 2026 - 15:33 EUVD
CVE Published
Jul 20, 2026 - 12:19 cve.org
CRITICAL 9.3

DescriptionCVE.org

FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in crypto_rsa_common() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BN_bn2bin() and only afterward checks output_length > out_length, so out-of-bounds bytes are written before the bounds check. On the server side, when a client selects RDP Standard Security, the encrypted client random is decrypted into a fixed 32-byte buffer. Because the server publishes its RSA public key, an unauthenticated attacker can forge a ciphertext whose decrypted value is up to the full modulus length (e.g. 256 bytes for RSA-2048), overflowing the 32-byte heap buffer by up to ~224 attacker-controlled bytes pre-authentication, resulting in denial of service.

Executive ViewAI

Why It Matters

FreeRDP remote access servers running versions 3.27.1 or earlier face a critical vulnerability allowing unauthenticated network attackers to crash services without credential compromise, disrupting remote work infrastructure for any organization using this technology. The vulnerability's ease of exploitation and lack of authentication barriers create immediate operational risk to workforce connectivity and dependent business processes. Organizations must prioritize patching within this release cycle to restore service resilience.

Business Impact: Severe
Compensating Controls

Apply vendor patch: FreeRDP 3.28.0

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
High
FreeRDP is a widely deployed open-source RDP implementation bundled across many products
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

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