CVE-2024-32041
Critical · 9.8CVSS
9.8
EPSS
1.9%
Published
Apr 22, 2024
CISA due date
—
Cloudanix analysis
A flaw in remote desktop software can let attackers read private information from a computer's memory when users connect to certain servers.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds read in FreeRDP graphics channel processing when /gfx is enabled, allowing a client to read beyond allocated buffers during RDP session handling.
Why it matters to the business
Attackers may access sensitive memory contents from systems using vulnerable FreeRDP clients, increasing risk of data exposure or follow-on compromise in remote desktop environments.
How an attack unfolds
An attacker hosts or intercepts an RDP server that sends crafted graphics data over the /gfx channel; a vulnerable client connecting with /gfx enabled triggers the out-of-bounds read, potentially leaking memory.
How to fix it
Upgrade FreeRDP to 3.5.0, 2.11.6, or later; apply commit dee7e7e7c609c5192273cf8c20540c729ddcb3b0 where applicable. As a temporary measure, disable /gfx and use /bpp or /rfx instead.
How to confirm the fix worked
Verify installed FreeRDP version is 3.5.0 or 2.11.6 or newer; confirm /gfx is disabled in client configurations; test connections to known-good servers with graphics acceleration enabled.
Typical attack path
- Attacker positions malicious or compromised RDP server
- Client initiates connection with /gfx enabled (default)
- Server sends specially crafted RDP graphics PDUs
- Client performs out-of-bounds read during decoding
- Attacker observes or uses leaked memory contents
How to detect it
Review client logs for RDP sessions using graphics acceleration; inspect for unusual memory access patterns or crashes during graphics decoding; correlate connection attempts to untrusted servers.
What your security team should do
- Immediately upgrade all FreeRDP installations to patched versions
- Disable /gfx in client launch parameters until upgrades complete
- Scan environments for any remaining pre-3.5.0 or pre-2.11.6 deployments
- Monitor for new FreeRDP releases and update dependency manifests
The record
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, deactivate `/gfx` (on by default, set `/bpp` or `/rfx` options instead.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | freerdp2 | 0 | No fix |
| Debian:12 | freerdp2 | 0 | No fix |
| Debian:13 | freerdp2 | 0 | No fix |
| Mageia:9 | freerdp | 0 | 2.11.7-1.mga9 |
| Red Hat:enterprise_linux:9::appstream | freerdp | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | freerdp-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | freerdp-debugsource | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | freerdp-devel | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | freerdp-libs | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | freerdp-libs-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | libwinpr | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | libwinpr-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::appstream | libwinpr-devel | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp-debugsource | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp-devel | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp-libs | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | freerdp-libs-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | libwinpr | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | libwinpr-debuginfo | 0 | 2:2.11.7-1.el9 |
| Red Hat:enterprise_linux:9::crb | libwinpr-devel | 0 | 2:2.11.7-1.el9 |
| Rocky Linux:9 | freerdp | 0 | 2:2.11.7-1.el9 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP5 | freerdp | 0 | 2.4.0-150400.3.29.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | freerdp | 0 | 2.1.2-12.44.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | freerdp | 0 | 2.1.2-12.44.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP5 | freerdp | 0 | 2.4.0-150400.3.29.1 |
| Ubuntu:16.04:LTS | freerdp | 0 | No fix |
| Ubuntu:18.04:LTS | freerdp | 0 | No fix |
| Ubuntu:20.04:LTS | freerdp2 | 0 | 2.6.1+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | freerdp2 | 0 | 2.6.1+dfsg1-3ubuntu2.6 |
| Ubuntu:23.10 | freerdp2 | 0 | 2.10.0+dfsg1-1.1ubuntu1.2 |
| Ubuntu:24.04:LTS | freerdp2 | 0 | No fix |
| Ubuntu:24.04:LTS | freerdp3 | 0 | 3.5.0+dfsg1-0ubuntu1 |
| Ubuntu:24.10 | freerdp2 | 0 | No fix |
| Ubuntu:24.10 | freerdp3 | 0 | 3.5.0+dfsg1-0ubuntu1 |
| Ubuntu:Pro:16.04:LTS | freerdp | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | freerdp | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | freerdp2 | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | freerdp2 | 0 | 2.11.5+dfsg1-1ubuntu0.1~esm1 |
| openSUSE:Leap 15.5 | freerdp | 0 | 2.4.0-150400.3.29.1 |
| openSUSE:Leap 16.0 | freerdp | 0 | 3.22.0-160000.1.1 |
| openSUSE:Tumbleweed | freerdp | 0 | 3.5.1-1.1 |
| openSUSE:Tumbleweed | freerdp2 | 0 | 2.11.7-1.1 |
Related vulnerabilities
- CVE-2024-32459 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp2
- CVE-2024-32460 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp2
- CVE-2024-32039 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp2
- CVE-2024-32458 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp2
- CVE-2024-32040 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp2
- CVE-2022-24883 FreeRDP is a free implementation of the Remote Desktop Protocol (RDP). Also affects freerdp2
- CVE-2026-24684 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-24682 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp