Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconConnect to FreeRDP RDP endpoint
-
DeliveryInitiate CredSSP/NLA Kerberos authentication
-
ExploitSend crafted GSS Wrap token with EC=0xFFFF
-
Installkerberos_DecryptMessage() applies unsanitized EC in pointer arithmetic
-
C2AES-CTS-HMAC decrypts in-place past token buffer boundary
-
ExecuteOut-of-bounds heap read and write
-
ImpactInformation disclosure, memory corruption, or 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 that the targeted FreeRDP endpoint is configured to use Kerberos-based CredSSP/NLA authentication - a common enterprise configuration. The attacker must be able to act as an RDP peer during the NLA handshake, either as an attacker-controlled RDP server that a client connects to, or as a malicious RDP client initiating a connection to a listening server. Because the vulnerability fires during the authentication phase before credentials are verified, no prior authentication is required (PR:N per CVSS vector). The specific Kerberos enctype AES-CTS-HMAC must be negotiated; endpoints restricted to NTLM-only authentication are not affected by this code path. FreeRDP 3.30.0 and later are not vulnerable. |
| Impact | The vendor-supplied CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N) accurately reflects network reachability with no authentication prerequisite, since the flaw fires during the authentication handshake itself. However, the supplied impact metrics (VC:H/VI:N/VA:N) capture only information disclosure and appear conservative relative to the description, which explicitly identifies memory corruption and denial of service as additional potential outcomes; the real-world impact may include integrity and availability compromise on top of confidentiality loss, making the supplied vector likely to understate severity. EPSS data was not provided, limiting probabilistic exploitation assessment. The vulnerability is absent from CISA KEV and no public exploit code is known, reducing immediate urgency. That said, the attack surface is broad: NLA/Kerberos is a standard enterprise RDP authentication mode, both client and server roles are vulnerable, and triggering the flaw requires only the ability to be an RDP peer during the handshake - a low-complexity position for a network-adjacent attacker. The combination of no authentication requirement, well-documented GSS Wrap token format (RFC 4121), and heap write primitive warrants prioritized patching for internet-exposed or multi-tenant RDP deployments. |
| Exploit ScenarioDerived | An attacker stands up a rogue RDP server and directs or social-engineers an FreeRDP client to connect using NLA/Kerberos authentication; during the CredSSP handshake the rogue server returns a GSS Wrap token with the EC field set to 0xFFFF, causing kerberos_DecryptMessage() to perform AES-CTS-HMAC decryption starting up to 65535 bytes past the end of the 60-byte token buffer on the heap. Alternatively, a malicious RDP client can inject the same crafted token when connecting to an FreeRDP-based server, triggering the same pointer arithmetic error in the server-side authentication path. No public exploit code has been identified at time of analysis, but the RFC 4121 token structure is fully documented and the trigger condition is simple to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Heap-based out-of-bounds read and write in FreeRDP before 3.30.0 can be triggered by a malicious peer during CredSSP/NLA Kerberos authentication, allowing information disclosure, heap memory corruption, or denial of service. The flaw exists in kerberos_DecryptMessage() where the peer-supplied 16-bit EC field of a GSS Wrap token is used directly in pointer arithmetic without bounds validation, enabling any RDP peer - rogue server or malicious client - to shift decrypt pointers up to 65535 bytes past the end of a ~60-byte token buffer. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
Upgrade FreeRDP to version 3.30.0 or later, which resolves the missing EC field bounds check per the vendor advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vv64-95pc-vj9v. This is the only confirmed fix; no patch backport to older stable branches has been identified from available data. If an immediate upgrade is not feasible, disable Kerberos-based CredSSP/NLA authentication in RDP configuration and fall back to NTLM-based NLA or certificate-only authentication, accepting the trade-off that NTLM may offer weaker authentication security in some environments. FreeRDP clients can additionally be restricted via policy to connect only to trusted, verified servers, reducing exposure to malicious-server exploitation. Network controls that limit RDP traffic (TCP 3389) to known authorized endpoints reduce the attack surface for both client- and server-side scenarios. Additional VulnCheck advisory context is available at https://www.vulncheck.com/advisories/freerdp-before-out-of-bounds-read-via-kerberos-gss-wrap-token-ec.
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 an open-source Remote Desktop Protocol implementation widely deployed as an RDP client and library on Linux, embedded in remote desktop tooling and thin-client environments. The vulnerability resides in winpr/libwinpr/sspi/Kerberos/kerberos.c within kerberos_DecryptMessage(), which processes GSS Wrap tokens as defined by RFC 4121. The GSS Wrap token header includes a 16-bit EC (Extra Count) field that indicates the number of filler bytes appended during encryption, and a separate RRC (Right Rotation Count) field. The code validates RRC and total buffer length but applies the peer-supplied EC value directly in pointer arithmetic to locate the encrypted payload region without range-checking it against the actual buffer. Because AES-CTS-HMAC enctypes decrypt in-place prior to HMAC integrity verification, a crafted EC value up to 0xFFFF causes the decrypt base pointer to land well past the end of the heap-allocated ~60-byte token buffer, producing a heap-based out-of-bounds read and write before any integrity check can abort the operation. CWE-122 (Heap-based Buffer Overflow) describes this root cause precisely. Affected product per CPE: cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable pre-authentication; EC field misuse yields OOB heap read and write, covering confidentiality, integrity, and availability impacts.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.30.0 contains an out-of-bounds vulnerability in kerberos_DecryptMessage() (winpr/libwinpr/sspi/Kerberos/kerberos.c). The 16-bit EC (extra count) field of a peer-supplied GSS Wrap token (RFC 4121) is used directly in pointer arithmetic to locate the encrypted regions without being bounds-checked, while only RRC and the total buffer length are validated. A malicious peer (server or client) can supply a large EC value (up to 0xFFFF) during CredSSP/NLA authentication, moving the decrypt operation's base pointers past the end of the ~60-byte token buffer. Because the AES-CTS-HMAC enctypes decrypt in place before the HMAC integrity check, this results in an out-of-bounds read and in-place out-of-bounds write, potentially leading to information disclosure, memory corruption, or denial of service.
Executive ViewAI
FreeRDP versions before 3.30.0 contain a critical heap memory vulnerability (CVSS 8.7) triggered during CredSSP/Kerberos authentication by a malicious RDP peer, enabling attackers to corrupt memory, crash services, or extract sensitive data. Organizations using FreeRDP for remote access face availability and confidentiality risks, particularly if RDP infrastructure is exposed to untrusted network segments.
No vendor-released patch identified at time of analysis. Interim mitigations: isolate RDP infrastructure from untrusted networks via firewall rules; require VPN for all remote access; disable CredSSP/NLA Kerberos authentication if alternative methods available; deploy host-based monitoring and intrusion detection signatures for malicious RDP peer behavior; limit concurrent RDP sessions; implement connection logging and alerting for authentication anomalies.
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
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-56135
GHSA-9q6x-42cw-m8jx
NVD
CVE.org
EPSS
VulDB
Exploit-DB