CVE-2024-22211: freerdp Heap-based Buffer Overflow
Vulnerability summary
CVE-2024-22211 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in freerdp. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 8 · Related 9Timeline
- 19-01-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:LDiffers
EPSS trend
Probability
1.08%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
0.00 pp
From 1.08% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundFreerdp
Maturity: poc
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Suse4 products
- freerdp&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 2.4.0-150400.3.26.1
- freerdp&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 2.1.2-12.41.1
- freerdp&distro=SUSE Linux Enterprise Workstation Extension 12 SP5< 2.1.2-12.41.1
- freerdp&distro=SUSE Linux Enterprise Workstation Extension 15 SP5< 2.4.0-150400.3.26.1
Ubuntu2 products
- freerdpAll versions (No fix recorded)
- freerdp2All versions (No fix recorded) | < 2.6.1+dfsg1-0ubuntu0.20.04.1 | < 2.6.1+dfsg1-3ubuntu2.6
Chainguard1 product
- freerdp-3< 3.2.0-r0
Debian1 product
- freerdp2< 2.11.7+dfsg1-6~deb12u1
Freerdp1 product
- freerdp< 2.11.5 | ≥ 3.0.0, < 3.2.0
Opensuse1 product
- freerdp&distro=openSUSE Leap 15.5< 2.4.0-150400.3.26.1
Wolfi1 product
- freerdp-3< 3.2.0-r0
7 vendors · 11 products
References
16 links- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rjhp-44rv-7v59X Refsource CONFIRMREPORTAdvisoryExploitPatchVendor Advisory