---
id: CVE-2026-109257
title: >-
  FreeRDP before 3.32.0 contains a double-free vulnerability in
  nsc_context_initialize_encode() that leaves dangling plane pointers after a
  partial buffer growth failure
summary: >-
  FreeRDP before 3.32.0 contains a double-free vulnerability in
  nsc_context_initialize_encode() that leaves dangling plane pointers after a
  partial buffer growth failure. Attackers using a crafted RDP client can
  negotiate NSCodec with a la…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-415
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:17.280'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109257'
references:
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-2hhg-8xx6-v73w'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-3.32.0-double-free-via-nscodec-plane-growth-failure
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.178Z'
---

## Overview

FreeRDP before 3.32.0 contains a double-free vulnerability in nsc_context_initialize_encode() that leaves dangling plane pointers after a partial buffer growth failure. Attackers using a crafted RDP client can negotiate NSCodec with a large desktop geometry to trigger allocation failure, crashing the server during context teardown.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
