CVE-2026-137461

Description

A flaw was found in FreeRDP. A remote, unauthenticated client can trigger a use-after-free vulnerability when negotiating a standard Remote Desktop Protocol (RDP) connection against a server using large RSA encryption keys. During server certificate generation, internal memory buffer reallocation can leave behind a pointer referencing freed memory, which is then read to compute the cryptographic signature. This issue produces invalid certificate signatures, resulting in connection failures and a potential Denial of Service (DoS).

Statement

This vulnerability is evaluated with a Moderate severity rating because it is confined to server-side FreeRDP endpoints and leads to handshake termination or denial of service rather than arbitrary code execution or data exposure. Red Hat Enterprise Linux primarily packages FreeRDP for client-side remote desktop connectivity, which remains entirely unaffected by this flaw. Exploitation against FreeRDP server instances requires non-default conditions, specifically the use of RSA key lengths of 3072 bits or higher coupled with legacy RDP security negotiation.

Mitigation

Restrict incoming network traffic to the RDP service (default port 3389/tcp) to trusted management subnets or localhost using `firewalld`. In addition, ensure that RDP server configurations mandate modern Transport Layer Security (TLS) or Network Level Authentication (NLA) rather than legacy Standard RDP Security, or maintain RSA key sizes at 2048 bits.

To restrict access to port 3389 using firewalld:

1. Remove unrestricted access to the RDP port from the public zone:
# firewall-cmd --permanent --zone=public --remove-port=3389/tcp

2. Grant access only to trusted network ranges:
# firewall-cmd --permanent --zone=trusted --add-source=<trusted_ip_or_subnet>

3. Apply the firewall rules:
# firewall-cmd --reload

Caveats: Limiting network reachability will prevent untrusted external clients from establishing remote desktop connections.
Warning: Reloading the firewall configuration using `firewall-cmd --reload` may momentarily interrupt active network connections.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/A5.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.