Vulnerability DatabaseCVE-2026-137461

CVE-2026-137461: 
Wolfi vulnerability analysis and mitigation

Overview

CVE-2026-137461 is a use-after-free vulnerability in FreeRDP's cert_write_server_certificate_v1() function that causes the server to compute a proprietary certificate signature over a freed stream buffer after heap reallocation. It affects FreeRDP versions 3.0.0 through 3.32.x (fixed in 3.33.0). The vulnerability was published on November 26, 2026, and assigned by VulnCheck. It carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory, Feedly).

Technical details

The root cause (CWE-416: Use After Free) lies in cert_write_server_certificate_v1() in libfreerdp/crypto/certificate.c. The function saves a pointer to the data-to-be-signed before writing algorithm IDs and the RSA public key blob; both writes invoke Stream_EnsureRemainingCapacity(), which may reallocate the underlying buffer. After reallocation, cert_write_rsa_signature() calls MD5 over the original, now-freed pointer. The bug is triggered when a client negotiates Standard RDP Security with enough static channels (≥4 with a 3072-bit key, or any count with a 4096-bit key) to force the 512-byte GCC server data stream to grow. The fix is to take the signed-data pointer after all writes, using Stream_BufferAs() and the saved offset (GitHub Advisory).

Impact

Exploitation causes the server to read freed heap memory during the MD5 signing operation, producing an invalid certificate signature that well-behaved clients will reject, effectively denying the connection. The primary impact is a low-severity availability disruption (invalid handshake completion) for clients connecting via Standard RDP Security with large server keys. No confidentiality or integrity impact was identified — the freed bytes are hashed and signed with the well-known terminal server key but cannot be directly exfiltrated, and no crash was observed outside of sanitizer builds (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The attack requires no authentication or user interaction and is network-accessible, but exploitation is constrained to specific server key sizes (3072- or 4096-bit RSA) and client-controlled channel counts, limiting practical impact (GitHub Advisory, Feedly).

Exploitation steps

  1. Identify target: Locate a FreeRDP-based RDP server (versions 3.0.0–3.32.x) configured with a 3072-bit or 4096-bit RSA server key using network scanning tools such as Nmap or Shodan.
  2. Initiate Standard RDP Security negotiation: Connect to the target server and negotiate Standard RDP Security (not TLS/NLA) in the Client Security Exchange phase of the RDP handshake.
  3. Request multiple static channels: Include at least four static virtual channel requests in the Client MCS Connect Initial PDU (four or more channels with a 3072-bit key; any count with a 4096-bit key) to force the 512-byte GCC server data stream to reallocate.
  4. Trigger the use-after-free: The server's cert_write_server_certificate_v1() writes the RSA public key blob, causing Stream_EnsureRemainingCapacity() to reallocate the buffer; cert_write_rsa_signature() then reads the freed original buffer for MD5 computation.
  5. Observe result: The server sends a GCC Connect Response with an invalid certificate signature; a validating client rejects the connection, resulting in a failed handshake (denial of service for that session) (GitHub Advisory).

Indicators of compromise

  • Network: Repeated RDP connection attempts (TCP port 3389) from a single source that negotiate Standard RDP Security and request an unusually high number of static virtual channels, then terminate abruptly after the server sends the GCC Connect Response.
  • Logs: RDP server logs showing connections that fail at the certificate exchange phase with clients that do not complete authentication; ASan-enabled builds will log heap-buffer-overflow or use-after-free in MD5_Update called from cert_write_rsa_signature.
  • Process: In sanitizer-instrumented builds, the FreeRDP server process may abort with an ASan report referencing cert_write_rsa_signature → winpr_Digest in libfreerdp/crypto/certificate.c (GitHub Advisory).

Mitigation and workarounds

Upgrade FreeRDP to version 3.33.0 or later, which fixes the stale pointer by taking the signed-data pointer after all stream writes using Stream_BufferAs() and the saved offset. No configuration-based workaround is documented; however, operators can mitigate exposure by disabling Standard RDP Security in favor of TLS or NLA, or by using server keys of 2048 bits or smaller (which do not trigger the reallocation). Restricting the number of permitted static virtual channels per connection may also reduce exposure (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

freerdp2

Affected

sid

freerdp3: 3.33.0+dfsg-1

Fixed

trixie

freerdp3

Affected

Ubuntu

Unknown

bionic (esm-apps)

freerdp

Unknown

bionic (esm-infra)

freerdp2

Unknown

devel

freerdp3

Unknown

focal (esm-infra)

freerdp2

Unknown

jammy

freerdp2

Unknown

noble

freerdp2

Unknown

noble (esm-apps)

freerdp2

Unknown

resolute

freerdp3

Unknown

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

freerdp.src

Affected

Source: This report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-137460HIGH8.7
  • Wolfi logoWolfi
  • freerdp-devel
NoYesNov 26, 2026
CVE-2026-137459HIGH8.7
  • Wolfi logoWolfi
  • freerdp3
NoYesNov 26, 2026
CVE-2026-137462HIGH7.1
  • Wolfi logoWolfi
  • freerdp
NoYesNov 26, 2026
CVE-2026-137458HIGH7.1
  • Wolfi logoWolfi
  • freerdp-server
NoYesNov 26, 2026
CVE-2026-137461MEDIUM6.9
  • Wolfi logoWolfi
  • freerdp2
NoYesNov 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management