Freerdp: Prior to 3.20.1, a heap use-after-free occurs in irp_thread_func because the IRP is freed by irp->Complete()
Affects freerdpSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 3.5.1+dfsg1-0ubuntu1.4 : patch freerdp as a priority.
Data as of 24 Nov 2026, 20:23 UTC
- Patch
- Available – fixed in 3.5.1+dfsg1-0ubuntu1.4, 3.16.0+dfsg-2ubuntu0.3, 3.20.2+dfsg-1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu freerdp3 to 3.5.1+dfsg1-0ubuntu1.4 (package) or 3.16.0+dfsg-2ubuntu0.3 (package) or 3.20.2+dfsg-1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSfreerdp3pkg:deb/ubuntu/freerdp3?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10freerdp3pkg:deb/ubuntu/freerdp3?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSfreerdp3pkg:deb/ubuntu/freerdp3?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 18.04 LTSfreerdppkg:deb/ubuntu/freerdp?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSfreerdppkg:deb/ubuntu/freerdp?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in FreeRDP version 3.20.1 and later. Users should update to at least version 3.20.1 or the corresponding patched package versions provided by their Linux distribution, such as Ubuntu's 3.5.1+dfsg1-0ubuntu1.4 or 3.16.0+dfsg-2ubuntu0.3. Applying standard system updates will apply the necessary patches. No additional mitigation actions are required once updated.
Description
FreeRDP versions prior to 3.20.1 contain a heap use-after-free vulnerability in the irp_thread_func function. This occurs because the IRP object is freed by irp->Complete() and then accessed again on an error path. The flaw allows a remote attacker to cause a crash or potentially execute arbitrary code. The issue is fixed in FreeRDP version 3.20.1 and later.
References
- ubuntu.com/security/CVE-2026-22857 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-22857 (opens in a new tab)
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4gxq-jhq6-4cr8 (opens in a new tab)
- github.com/FreeRDP/FreeRDP/releases/tag/3.20.1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8105-1 (opens in a new tab)