Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect negotiating Standard RDP Security
-
ExploitRequest many static channels
-
ExecutionTrigger GCC stream realloc, freeing buffer
-
ImpactServer signs freed heap, invalid certificate
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a server using a non-default RSA key size: with a 3072-bit key the client must also request at least four static channels, and any 4096-bit key triggers it; the default 2048-bit key certificate fits the 512-byte GCC stream and is not affected. The client must negotiate Standard RDP Security, and the connecting client controls both the security protocol and the channel count, so no authentication is needed to reach the code. Limiting factors: the flaw is server-side only, depends on a non-default large-key configuration, and its demonstrated effect is a corrupted certificate signature causing handshake rejection - no data leak and no production crash were observed. |
| Impact | This is a medium-severity, low-real-priority issue despite the network attack vector. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with only VA:L and all other impacts N yields 6.9, and the GHSA advisory constrains the impact sharply: a server-side use-after-free that hashes freed heap memory, producing an invalid certificate signature so conforming clients reject the connection. The advisory explicitly states the researchers found no way to read the freed data out (no confidentiality impact, VC:N) and saw no crash outside sanitizer builds, so the practical effect is a broken Standard RDP Security handshake rather than data disclosure or reliable denial of service. No EPSS score and no KEV listing are provided, and the vuln.today Decision label is 'this_month' (not act_now/emergency), all consistent with low urgency. The condition is also non-default: it only triggers when the server uses a 3072- or 4096-bit RSA key (the default 2048-bit key is unaffected). Note tension between the AV:N/AC:L vector and the real trigger - exploitation depends on a non-default large server key that the attacker does not control, which is not reflected in the input's AC:L/AT:N. |
| Exploit ScenarioDerived | A malicious or man-in-the-middle client connects to a FreeRDP-based server that is configured with a non-default 3072- or 4096-bit RSA key, negotiates Standard RDP Security, and requests enough static channels to force the 512-byte GCC server-data stream to reallocate. The server then computes the proprietary certificate signature over the old freed buffer, emitting an invalid signature and breaking the handshake. A public reproducer unit test exists in the advisory demonstrating the fault under ASan; it is not verified as working remote exploit code, and no information leak or production crash was demonstrated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
FreeRDP 3.x servers can read freed heap memory while building the proprietary (Standard RDP Security) server certificate, because cert_write_server_certificate_v1() caches a pointer to the data to be signed before writing the algorithm IDs and RSA public key blob, and those writes can reallocate the output stream. The stale pointer is then MD5-hashed in cert_write_rsa_signature(), yielding a corrupt certificate signature; a client that validates the certificate rejects the connection. Reaching the bug requires the client to negotiate Standard RDP Security against a server with a 3072-bit key plus at least four requested static channels, or any 4096-bit key - the default 2048-bit configuration fits the 512-byte GCC stream and is unaffected. No public exploit code was identified at time of analysis and the issue is not in CISA KEV; the demonstrated effects are a corrupted signature and handshake failure, with no data leak and no observed crash outside sanitizer builds.
RemediationAI
Vendor-released patch: upgrade FreeRDP to 3.33.0 or later, which takes the signed-data pointer from the stream base and saved offset only after the algorithm and public key writes, eliminating the stale buffer reference (fix commit f5090a185b73aa89a2c8d9d7786383fd627362d7, with the TestServerCertificateWrite regression test). Advisory and patch details are at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8m87-jj8p-2fqc and https://www.vulncheck.com/advisories/freerdp-3.0.0-before-3.33.0-use-after-free-in-server-certificate-signing. If upgrading immediately is not possible, the practical compensating control is to keep the server on the default 2048-bit RSA key so the certificate fits the 512-byte GCC stream and no reallocation occurs - the trade-off is a weaker key size for the RDP server certificate; alternatively, ensure clients cannot combine Standard RDP Security with four or more requested static channels (for example by forcing TLS/CredSSP security or limiting channel allocation), though that restricts legitimate client functionality and must be validated against your client population. Note that the connecting client chooses both the security protocol and the channel count, so these mitigations are only effective as server-side configuration constraints.
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 implementation of the Remote Desktop Protocol used both as a client and as a server library. When a client negotiates Standard RDP Security, the server emits a proprietary certificate inside the GCC server security data via mcs_send_connect_response(), which assembles the server data blocks in a 512-byte wStream. cert_write_server_certificate_v1() in libfreerdp/crypto/certificate.c records a pointer to the signed region (starting at dwVersion) and then writes the key algorithm fields and the RSA public key blob; both writes pass through Stream_EnsureRemainingCapacity(), and when the stream must grow the backing buffer is reallocated and the old allocation is freed. cert_write_rsa_signature() subsequently runs MD5 over the saved, now-dangling pointer, which is the CWE-416 use-after-free: a heap read of freed memory that under ASan reports as an out-of-bounds/use-after-free in MD5_Update. The certificate size depends on the RSA key length, so a 3072-bit key combined with at least four requested static channels, or any 4096-bit key, is enough to force the reallocation; a 2048-bit key fits and does not trigger the bug. Because the bogus bytes are hashed and signed with the well-known terminal server key, the resulting signature is invalid and certificate-validating clients should refuse the session. The upstream fix simply moves the signed-data pointer acquisition after the writes, deriving it from Stream_BufferAs(s, const BYTE) + start - sizeof(UINT32), and adds the TestServerCertificateWrite unit test that compares a certificate written into a 16-byte growing stream against one written into a 0x10000-byte stream.
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:N/VI:N/VA:L/SC:N/SI:N/SA:N
Remote unauthenticated client reaches it (PR:N), but AC:H because it needs a non-default 3072/4096-bit server key the attacker cannot control; only broken-handshake availability (A:L), no confirmed C/I impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
FreeRDP from 3.0.0 before 3.33.0 contains a use-after-free vulnerability in cert_write_server_certificate_v1() that computes the proprietary certificate signature over a freed stream buffer after reallocation. Clients negotiating Standard RDP Security with many static channels against servers using 3072- or 4096-bit keys trigger freed heap reads, producing invalid certificate signatures.
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-136613
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB