---
id: CVE-2026-91957
title: >-
  FreeRDP before 3.31.0 contains a use-after-free vulnerability in the smartcard
  RDPDR device handler when worker thread creation fails after device
  registration
summary: >-
  FreeRDP before 3.31.0 contains a use-after-free vulnerability in the smartcard
  RDPDR device handler when worker thread creation fails after device
  registration. Attackers can trigger thread creation failure during channel
  setup to cause …
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-416
  - CWE-825
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:17:00.363'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91957'
references:
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-j5mq-3349-gwmm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-3.31.0-use-after-free-via-smartcard-worker
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-91957.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-91957'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2533939'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-91957'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91957'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00347
epssPercentile: 0.25505
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-17T14:56:00.696796Z'
ingestedAt: '2026-09-15T15:39:12.917Z'
---

## Overview

FreeRDP before 3.31.0 contains a use-after-free vulnerability in the smartcard RDPDR device handler when worker thread creation fails after device registration. Attackers can trigger thread creation failure during channel setup to cause device pointer deallocation while devman retains a reference, leading to crash or code execution.

## Affected

- `freerdp < 3.31.0`

## Remediation

Upgrade past the affected range:

- `freerdp 3.31.0`

## Vendor advisories

- **Red Hat VEX** · Low · 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-91957.json)
