CVE-2026-24681: FreeRDP has a heap-use-after-free in urb_bulk_transfer_cb
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.22.0, aAsynchronous bulk transfer completions can use a freed channel callback after URBDRC channel close, leading to a use after free in urbwritecompletion. This vulnerability is fixed in 3.22.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.2.0+dfsg1-0ubuntu0.18.04.4+esm5 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.6.1+dfsg1-0ubuntu0.20.04.2+esm3 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.6.1+dfsg1-3ubuntu2.10 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.5.1+dfsg1-0ubuntu1.2 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.5+dfsg1-1ubuntu0.1~esm5 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.16.0+dfsg-2ubuntu0.1 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.22.0-r0 - Upgrade
Upgrade
debian/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.7+dfsg1-6~deb12u2 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.22.0+dfsg-1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1Fixed in 3.22.0+dfsg-1 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.22.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24681?
CVE-2026-24681 is classified as a critical vulnerability due to the potential for remote code execution from a use-after-free condition.
How do I fix CVE-2026-24681?
To fix CVE-2026-24681, upgrade FreeRDP to version 3.22.0 or later to eliminate the use-after-free vulnerability.
Which versions of FreeRDP are affected by CVE-2026-24681?
FreeRDP versions prior to 3.22.0 are affected by CVE-2026-24681.
What causes the vulnerability CVE-2026-24681?
CVE-2026-24681 is caused by a heap-use-after-free condition in the urb_bulk_transfer_cb function when handling asynchronous bulk transfer completions.
Is CVE-2026-24681 exploitable remotely?
Yes, CVE-2026-24681 can be exploited remotely, allowing attackers to execute arbitrary code on affected systems.