---
id: CVE-2026-91954
title: >-
  FreeRDP before 3.31.0 contains a null pointer dereference vulnerability in
  gdi_surface_bits when processing Surface Bits commands with NSCodec codec ID
summary: >-
  FreeRDP before 3.31.0 contains a null pointer dereference vulnerability in
  gdi_surface_bits when processing Surface Bits commands with NSCodec codec ID.
  A malicious RDP server can crash a FreeRDP client by sending a crafted Surface
  Bits …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: freerdp
product: freerdp
affected:
  - freerdp < 3.31.0
patched:
  - freerdp 3.31.0
published: '2026-09-15'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T12:16:39.400'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91954'
references:
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-ffjr-p229-hpch'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-3.31.0-null-pointer-dereference-via-nscodec
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-91954.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-91954'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2533906'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-91954'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91954'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.0038
epssPercentile: 0.29307
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-17T19:15:29.879498Z'
ingestedAt: '2026-09-15T15:39:12.918Z'
---

## Overview

FreeRDP before 3.31.0 contains a null pointer dereference vulnerability in gdi_surface_bits 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

- `freerdp < 3.31.0`

## Remediation

Upgrade past the affected range:

- `freerdp 3.31.0`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-91954.json)
