# CVE-2026-22857: FreeRDP has a heap-use-after-free in irp_thread_func

- Severity: Medium 6.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-14T17:53:54.193Z
- Modified: 2026-06-17T10:20:30.897Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a heap use-after-free occurs in irp_thread_func because the IRP is freed by irp->Complete() and then accessed again on the error path. This vulnerability is fixed in 3.20.1.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.20.1; before 3.20.1

## Every score

- GitHub_M: CVSS:4.0 6.8 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4gxq-jhq6-4cr8> (exploit, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.20.1> (release-notes)

## Sources

- CVE List: [CVE-2026-22857](https://www.cve.org/CVERecord?id=CVE-2026-22857), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-22857](https://nvd.nist.gov/vuln/detail/CVE-2026-22857), Public domain, modified 2026-06-17

---

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