CVE-2026-91954: FreeRDP before 3.31.0 NULL Pointer Dereference via NSCodec

Published Sep 15, 2026
·
Updated

FreeRDP before 3.31.0 contains a null pointer dereference vulnerability in gdisurfacebits when processing Surface Bits commands with NSCodec codec ID. A malicious RDP server can crash a FreeRDP client by sending a crafted Surface Bits command claiming to use NSCodec, even when the codec is disabled.

Affected Software

1 affected component
FreeRDP freerdp<3.31.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeRDP to a version that resolves this vulnerability.

    Fixed in 3.31.0
  2. Configuration

    Ensure FreeRDP is upgraded to 3.31.0 or later; the NULL pointer dereference occurs in gdi_surface_bits when processing Surface Bits commands with NSCodec codec ID even when the codec is disabled.

    FreeRDP NSCodec codec ID handling in Surface Bits (gdi_surface_bits) = Disable/avoid processing crafted Surface Bits commands using NSCodec codec ID

Event History

Sep 15, 2026
CVE Published
via MITRE·03:18 PM
Data Sourced
via MITRE·03:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are realistically exposed to this issue?

FreeRDP clients running versions earlier than 3.31.0 are exposed when they connect to a malicious RDP server. The issue affects the client, not an RDP server being connected to.

2

What must an attacker do to trigger the crash?

An attacker needs to operate or control an RDP server that the victim connects to and send a crafted Surface Bits command claiming the NSCodec codec ID. No attacker privileges on the client are indicated, but user interaction is required because the client must initiate the RDP connection.

3

Does disabling NSCodec mitigate the issue?

No. The crafted command can trigger the null pointer dereference even when NSCodec is disabled.

4

How can I determine whether an installation is affected?

Check the installed FreeRDP version. Versions before 3.31.0 are affected; upgrading to 3.31.0 or later addresses the affected version range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203