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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T19:51:00.559Z
- Modified: 2026-07-13T22:44:25.443Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.28.0; before 3.28.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `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> (exploit, mitigation, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/pull/12930> (patch)
- <https://github.com/FreeRDP/FreeRDP/pull/12945> (patch)
- <https://github.com/FreeRDP/FreeRDP/commit/02991e7b3cc0b9800b09030c0e9c80bab877d668> (patch)
- <https://github.com/FreeRDP/FreeRDP/commit/bd789a31cb794750dbe5e7c0e205981074cb681a> (patch)
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0> (release-notes)

## Sources

- CVE List: [CVE-2026-57157](https://www.cve.org/CVERecord?id=CVE-2026-57157), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-57157](https://nvd.nist.gov/vuln/detail/CVE-2026-57157), Public domain, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-57157 · Whole record: https://cve.day/CVE-2026-57157.json · Rebuilt by cve.day 2026-11-25T22:59:27.677Z
