CVE-2024-32040 json
FreeRDP vulnerable to integer underflow in nsc_rle_decode
published 2024-04-22 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-29874
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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 and have connections to servers using the `NSC` codec are vulnerable to integer underflow. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use the NSC codec (e.g. use `-nsc`).
Patch / fix
- FreeRDP FreeRDP 2.11.6
- freerdp2 Debian 12 2.11.7+dfsg1-6~deb12u1
debian advisories DEBIAN-CVE-2024-32040
- freerdp2 Ubuntu 20.04 LTS 2.6.1+dfsg1-0ubuntu0.20.04.1
- freerdp2 Ubuntu 22.04 LTS 2.6.1+dfsg1-3ubuntu2.6
- freerdp3 Ubuntu 24.04 LTS 3.5.0+dfsg1-0ubuntu1
- freerdp2 Ubuntu Pro 24.04 LTS 2.11.5+dfsg1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2024-32040
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- freerdp RHEL 9 2:2.11.7-1.el9
- libwinpr RHEL 9 2:2.11.7-1.el9
- freerdp-libs RHEL 9 2:2.11.7-1.el9
red hat advisories RHSA-2024:9092
- freerdp SLE Workstation Extension 15 SP5, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5 2.4.0-150400.3.29.1
- freerdp SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 2.1.2-12.44.1
suse advisories SUSE-SU-2024:1610-1SUSE-SU-2024:1609-1
- freerdp openSUSE Leap 16.0 3.22.0-160000.1.1
- freerdp openSUSE Tumbleweed 3.5.1-1.1
- freerdp2 openSUSE Tumbleweed 2.11.7-1.1
opensuse advisories openSUSE-SU-2026:20339-1openSUSE-SU-2024:13900-1openSUSE-SU-2024:14022-1
- freerdp Rocky Linux 9 2:2.11.7-1.el9
rocky linux advisories RLSA-2024:9092
- github.com/FreeRDP/FreeRDP#10077 pull request
- github.com/FreeRDP/FreeRDP/releases/tag/2.11.6 release
- github.com/FreeRDP/FreeRDP/releases/tag/3.5.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-32040 updated
freerdp: integer underflow in nsc_rle_decode
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-pluginsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libsaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 9) freerdp-devel 2.11.7-1.el9, libwinpr-devel 2.11.7-1.el9, freerdp-debuginfo 2.11.7-1.el9, libwinpr-debuginfo 2.11.7-1.el9, freerdp-debugsource 2.11.7-1.el9, freerdp-libs-debuginfo 2.11.7-1.el9 Red Hat Enterprise Linux AppStream (v. 9) freerdp 2.11.7-1.el9, libwinpr 2.11.7-1.el9, freerdp-libs 2.11.7-1.el9fixed: vendor fix RHSA-2024:9092
-
Red Hat Enterprise Linux 10 freerdp, freerdp2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.91% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- FreeRDP FreeRDP
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
References
-
github.com
/FreeRDP/FreeRDP/pull/10077
issue-tracking
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-23c5-cp23-h2h5
mitigation, vendor-advisory
-
github.com
/FreeRDP/FreeRDP/releases/tag/2.11.6
release-notes
-
github.com
/FreeRDP/FreeRDP/releases/tag/3.5.0
release-notes
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZKI4UISUXYNBPN4K6TIQKDRTIJ6CDCKJ/
third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/7SIS6NUNLUBOV4CPCSWKDE6T6C2W3WTR/
third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/PX3U6YPZQ7PEJBVKSBUOLWVH7DHROHY5/
third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/5JL476WVJSIE7SBUKVJRVA6A52V2HOLZ/
third-party-advisory
- lists.debian.org /debian-lts-announce/2025/02/msg00016.html
Sources
- CVE List CVE-2024-32040
- NVD CVE-2024-32040
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.