Heap-based buffer overflow in FreeRDP - CVE-2026-24677
Published: February 10, 2026
Vulnerability identifier: #VU122495
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-24677
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in ecam_encoder_compress_h264() function. A remote attacker can trick the victim into connecting to a malicious server, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in ecam_encoder_compress_h264() function. A remote attacker can trick the victim into connecting to a malicious server, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Affected software
FreeRDP
Ubuntu
freerdp2 (Ubuntu package)
Ubuntu
freerdp2 (Ubuntu package)
How to mitigate CVE-2026-24677
Install updates from vendor's website.
FreeRDP - update to 3.22.0
freerdp2 (Ubuntu package) - addressed in versions 2.2.0+dfsg1-0ubuntu0.18.04.4+esm5, 2.6.1+dfsg1-0ubuntu0.20.04.2+esm3, 2.6.1+dfsg1-3ubuntu2.10, 2.11.5+dfsg1-1ubuntu0.1~esm5, 3.5.1+dfsg1-0ubuntu1.2, 3.16.0+dfsg-2ubuntu0.1
freerdp2 (Ubuntu package) - addressed in versions 2.2.0+dfsg1-0ubuntu0.18.04.4+esm5, 2.6.1+dfsg1-0ubuntu0.20.04.2+esm3, 2.6.1+dfsg1-3ubuntu2.10, 2.11.5+dfsg1-1ubuntu0.1~esm5, 3.5.1+dfsg1-0ubuntu1.2, 3.16.0+dfsg-2ubuntu0.1