CVE-2024-32040FreeRDP vulnerable to integer underflow in nsc_rle_decode
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`).
What to do
Fixed builds are available from Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | freerdp2 | Fix pending | 2.11.5+dfsg1-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-32040 |
| Ubuntu 24.04 | freerdp3 | Fixed | 3.5.0+dfsg1-0ubuntu1 | UBUNTU-CVE-2024-32040 |
| Ubuntu 22.04 | freerdp2 | Fixed | 2.6.1+dfsg1-3ubuntu2.6 | UBUNTU-CVE-2024-32040 |
| Ubuntu 20.04 | freerdp2 | Fixed | 2.6.1+dfsg1-0ubuntu0.20.04.1 | UBUNTU-CVE-2024-32040 |
| Ubuntu 18.04 | freerdp | Fix pending | UBUNTU-CVE-2024-32040 | |
| Ubuntu 18.04 | freerdp2 | Fix pending | UBUNTU-CVE-2024-32040 | |
| Ubuntu 16.04 | freerdp | Fix pending | UBUNTU-CVE-2024-32040 | |
| Debian 12 | freerdp2 | Fixed | 2.11.7+dfsg1-6~deb12u1 | DEBIAN-CVE-2024-32040 |
| Red Hat Enterprise Linux 10 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-server | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp2 | Not affected | ||
| Red Hat Enterprise Linux 10 | libwinpr | Not affected | ||
| Red Hat Enterprise Linux 10 | libwinpr-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | freerdp-devel | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | freerdp-libs | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | libwinpr | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | libwinpr-devel | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 8 | freerdp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | freerdp-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | freerdp-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libwinpr | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libwinpr-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | freerdp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-plugins | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libwinpr | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libwinpr-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Will not fix Out of support scope | ||
| Rocky Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9 | RLSA-2024:9092 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeRDP: affected: >= 3.0.0, 3.5.0, < 2.11.6
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-23c5-cp23-h2h5
- https://github.com/FreeRDP/FreeRDP/pull/10077
- https://github.com/FreeRDP/FreeRDP/releases/tag/2.11.6
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.5.0
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZKI4UISUXYNBPN4K6TIQKDRTIJ6CDCKJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7SIS6NUNLUBOV4CPCSWKDE6T6C2W3WTR/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PX3U6YPZQ7PEJBVKSBUOLWVH7DHROHY5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5JL476WVJSIE7SBUKVJRVA6A52V2HOLZ/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.