---
id: CVE-2026-57157
title: FreeRDP is a free implementation of the Remote Desktop Protocol
summary: >-
  FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to
  3.28.0, FreeRDP server implementations with the MS-RDPECAM camera device
  enumerator channel enabled scan attacker-supplied DeviceName and
  VirtualChannelName fields…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'
cwe:
  - CWE-125
published: '2026-07-10'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57157'
references:
  - url: >-
      https://github.com/FreeRDP/FreeRDP/commit/02991e7b3cc0b9800b09030c0e9c80bab877d668
    label: security-advisories@github.com
  - url: >-
      https://github.com/FreeRDP/FreeRDP/commit/bd789a31cb794750dbe5e7c0e205981074cb681a
    label: security-advisories@github.com
  - url: 'https://github.com/FreeRDP/FreeRDP/pull/12930'
    label: security-advisories@github.com
  - url: 'https://github.com/FreeRDP/FreeRDP/pull/12945'
    label: security-advisories@github.com
  - url: 'https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0'
    label: security-advisories@github.com
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-47fr-jw86-c3fj'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00539
epssPercentile: 0.42954
ingestedAt: '2026-07-11T20:15:26.752Z'
---

## Overview

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.28.0, FreeRDP server implementations with the MS-RDPECAM camera device enumerator channel enabled scan attacker-supplied DeviceName and VirtualChannelName fields for a NUL terminator in channels/rdpecam/server/camera_device_enumerator_main.c and then dereference once past the scan bound, allowing a malicious RDP client to trigger a 1- to 2-byte out-of-bounds heap read. This issue is fixed in version 3.28.0.

## Remediation

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