What’s Vulnerable › Vulnerabilities

CVE-2026-57157: Out-of-bounds read in the camera device enumerator server (rdpecam) via unterminated DeviceName / VirtualChannelName

Description

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.

Affected products

How to fix

Upgrade to a fixed version: FreeRDP 3.28.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-57157 or the next vulnerability affects your stack