Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M
CVE-2026-57157Out-of-bounds read in the camera device enumerator server (rdpecam) via unterminated DeviceName / VirtualChannelName
Medium 6.5
In plain English
A medium-severity out-of-bounds read in FreeRDP from FreeRDP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | freerdp | 3.29.0-r0 | ALPINE-CVE-2026-57157 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-57157 |
| Debian:13 | freerdp3 | no fix listed | DEBIAN-CVE-2026-57157 |
| Debian:14 | freerdp3 | 3.28.0+dfsg-1 | DEBIAN-CVE-2026-57157 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-57157 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | USN-8561-1 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-57157 |
| Ubuntu:25.10 | freerdp3 | no fix listed | UBUNTU-CVE-2026-57157 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | USN-8561-1 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-57157 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-47fr-jw86-c3fj x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/pull/12930 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/pull/12945 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/02991e7b3cc0b9800b09030c0e9c80bab877d668 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/bd789a31cb794750dbe5e7c0e205981074cb681a x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0 x_refsource_MISC