Vulnerability DatabaseCVE-2026-137458

CVE-2026-137458: 
Wolfi vulnerability analysis and mitigation

Overview

CVE-2026-137458 is a reachable assertion vulnerability in FreeRDP's remdesk server channel that allows authenticated clients to crash the freerdp-shadow-cli process, terminating all active sessions. It affects FreeRDP versions 3.0.0 through 3.32.2 (inclusive), and is fixed in version 3.33.0. The vulnerability was discovered using Anthropic's Claude AI and manually validated by Ada Logics, with the advisory published on November 26, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, VulnCheck).

Technical details

The root cause is classified as CWE-130 (Improper Handling of Length Parameter Inconsistency) and CWE-617 (Reachable Assertion). In remdesk_server_thread (channels/remdesk/server/remdesk_main.c), the server allocates a 4096-byte stream buffer and reads each chunk to offset 0, but advances the stream position cumulatively via Stream_Seek(s, BytesReturned). When a client sends a message exceeding 4096 bytes (e.g., 4100 bytes) with a PDU header declaring a shorter length, the first read fills the buffer and sets the position to 4096 (equal to capacity). Because PduLength < pos, the PDU is neither processed nor reset. On the second read of the remaining 4 bytes, Stream_Seek is called with zero remaining capacity, triggering WINPR_ASSERT(Stream_GetRemainingCapacity(s) >= _offset) in winpr/include/winpr/stream.h:159, which calls abort() and kills the entire process. The same vulnerable read-to-buffer-start pattern also exists in channels/encomsp/server/encomsp_main.c (GitHub Advisory).

Impact

Successful exploitation results in a denial-of-service condition: the freerdp-shadow-cli process is aborted, immediately terminating every session it is serving. Any authenticated user can trigger this with a single crafted channel message and repeat it indefinitely, making recovery impossible without restarting the server. There is no evidence of information disclosure or memory corruption — the advisory explicitly states this is a reachable assertion, not a memory safety issue, and no code execution is claimed (GitHub Advisory).

Exploitability

No public exploit code or in-the-wild exploitation has been reported as of the disclosure date, and the EPSS score is 0.0. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. However, exploitation is straightforward for any authenticated user: a single 4100-byte remdesk message with a mismatched PDU length header is sufficient to crash the server. If authentication is disabled by the operator (-auth flag), the attack becomes unauthenticated and reachable by anyone with network access to the port. A self-contained Docker-based proof-of-concept reproducer was included with the advisory submission (GitHub Advisory, VulnCheck).

Exploitation steps

  1. Reconnaissance: Identify hosts running freerdp-shadow-cli (FreeRDP versions 3.0.0–3.32.2) exposed on the network, typically listening on RDP port 3389 or a custom port.
  2. Authentication: Obtain valid credentials for the target FreeRDP shadow server (required under default NLA configuration). If the server is running with -auth disabled, no credentials are needed.
  3. Connect and join remdesk channel: Use a libfreerdp-based client to authenticate and load the Remote Assistance (remdesk) static virtual channel via LoadChannels and SendChannelData APIs.
  4. Craft malicious message: Construct a single message of 4100 bytes (or more) where the first 8 bytes of the PDU header declare a length shorter than the actual message length (e.g., all-zero header bytes, resulting in PduLength = 8).
  5. Send the message: Transmit the crafted message over the remdesk channel. The server reads the first 4096 bytes, sets stream position to capacity, and on the second read triggers WINPR_ASSERT in Stream_Seek, calling abort() and killing freerdp-shadow-cli along with all active sessions.
  6. Repeat as needed: The attacker can reconnect and repeat the attack to maintain a persistent denial-of-service condition (GitHub Advisory).

Indicators of compromise

  • Logs: Sudden termination of freerdp-shadow-cli with exit status 134 (SIGABRT); log entries containing [FATAL][com.freerdp.winpr.assert] and the message ((Stream_GetRemainingCapacity(s) >= _offset)) from winpr/include/winpr/stream.h:Stream_Seek:159.
  • Process: Unexpected crash or absence of the freerdp-shadow-cli process; core dump files generated by the FreeRDP shadow server process.
  • Network: RDP/remdesk channel traffic from a client sending a single message exceeding 4096 bytes immediately followed by server process termination; repeated reconnection attempts from the same client IP after server crashes.
  • File System: AddressSanitizer crash reports (if enabled) referencing remdesk_server_thread in channels/remdesk/server/remdesk_main.c:544 (GitHub Advisory).

Mitigation and workarounds

Upgrade FreeRDP to version 3.33.0 or later, which contains the fix for this vulnerability. No official configuration-based workaround is provided by the vendor; however, operators can reduce exposure by ensuring authentication is enabled (default NLA configuration) to limit exploitation to credentialed users, and by restricting network access to the freerdp-shadow-cli port using firewall rules. The advisory also notes that channels/encomsp/server/encomsp_main.c uses the same vulnerable pattern and should be reviewed (GitHub Advisory).

Community reactions

The vulnerability was discovered using Anthropic's Claude AI and manually validated by Ada Logics, with the advisory crediting both. The FreeRDP maintainer (akallabeth) published the advisory on November 9, 2026 (internally), with public disclosure on November 26, 2026. No significant broader media coverage or notable community commentary beyond the advisory itself has been identified at this time (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