# CVE-2024-22211: FreeRDP integer Overflow leading to Heap Overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.7
- **CVSS:** 3.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.28% (percentile 70, 2026-11-26)
- **CWE:** CWE-190, CWE-122
- **Published:** 2024-01-19T19:54:32.837Z
- **Modified:** 2026-06-17T07:10:57.080Z

## Who should check

- Anyone running FreeRDP \< 2.11.5; \>= 3.0.0, \< 3.2.0

## Description

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.

## Affected and fixed versions

- FreeRDP: \< 2.11.5; \>= 3.0.0, \< 3.2.0 (cvelist)

## Mitigation

- Upgrade FreeRDP to 3.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-22211. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-22211.md
Affected: FreeRDP < 2.11.5; >= 3.0.0, < 3.2.0
Fixed in: FreeRDP 2.11.5, FreeRDP 3.2.0

Steps:
1. Search this machine and project for FreeRDP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-22211 being exploited?

There is no confirmed exploitation: CVE-2024-22211 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-22211?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-22211?

FreeRDP \< 2.11.5; \>= 3.0.0, \< 3.2.0.

### Is there a fix for CVE-2024-22211?

Yes. Fixed in FreeRDP 2.11.5, FreeRDP 3.2.0. Upgrade FreeRDP to 3.2.0 or later.

### How do I check if I'm affected by CVE-2024-22211?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rjhp-44rv-7v59>
- patch: <https://github.com/FreeRDP/FreeRDP/commit/939e922936e9c3ae8fc204968645e5e7563a2fff>
- patch: <https://github.com/FreeRDP/FreeRDP/commit/aeac3040cc99eeaff1e1171a822114c857b9dca9>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQE3YSPOJPAUS7DPWIBTR5IQSQX35VM/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44VOA5KQQT7KQPW7CLST4Y4SQTKK3IOU/>
- other: <https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-22211>

HTML: <https://flawdb.com/CVE-2024-22211> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-22211>
