CVE-2024-22211
FreeRDP integer Overflow leading to Heap Overflow
Reported by github_m · Published January 19, 2024
FreeRDP is a set of free and open source remote desktop protocol library and clients. In affected versions an integer overflow in `freerdp_bitmap_planar_context_reset` leads to heap-buffer overflow. This affects FreeRDP based clients. FreeRDP based server implementations and proxy are not affected. A malicious server could prepare a `RDPGFX_RESET_GRAPHICS_PDU` to allocate too small buffers, possibly triggering later out of bound read/write. Data extraction over network is not possible, the buffers are used to display an image. This issue has been addressed in version 2.11.5 and 3.2.0. Users are advised to upgrade. there are no know workarounds for this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libwinpr | Amazon Linux | 2:2.11.7-1.amzn2.0.1 |
| freerdp | Wolfi | 2.11.5-r0 |
| freerdp | Amazon Linux | 2:2.11.7-1.amzn2.0.1 |
| freerdp2 | Alpine | 2.11.5-r0 |
| freerdp-3 | Wolfi | 3.2.0-r0 |
| freerdp-3 | Chainguard | 3.2.0-r0 |
| freerdp | freerdp | 3.2.0, 2.11.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 2.11.5, >= 3.0.0, < 3.2.0 |
| amazon:2 | libwinpr | 0 |
| wolfi | freerdp | 0 |
| amazon:2 | freerdp | 0 |
| alpine | freerdp2 | 0 |
| wolfi | freerdp-3 | 0 |
| chainguard | freerdp-3 | 0 |
| amazon:2 | freerdp-libs | 0 |
| alpine | freerdp | 0 |
| FreeRDP | FreeRDP | 0, 3.0.0 |
| chainguard | freerdp | 0 |
| amazon:2 | libwinpr-devel | 0 |
| amazon:2 | freerdp-devel | 0 |
Timeline
- Jan 18, 2024 CVE Published
- Jan 22, 2024 PoC Published (3 in total, the first dated here)
- Jan 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Jan 17, 2026 Security Advisory (4 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-22211
vulnetix vdb fixes CVE-2024-22211
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-22211/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rjhp-44rv-7v59 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/939e922936e9c3ae8fc204968645e5e7563a2fff x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/aeac3040cc99eeaff1e1171a822114c857b9dca9 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html advisory