# CVE-2023-40589: FreeRDP Global-Buffer-Overflow in ncrush\_decompress

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-31 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2023-40589, DEBIAN-CVE-2023-40589
- Record: https://cvemate.com/vulnerability/CVE-2023-40589 · JSON: https://cvemate.com/vulnerability/CVE-2023-40589/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions there is a Global-Buffer-Overflow in the ncrush_decompress function. Feeding crafted input into this function can trigger the overflow which has only been shown to cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.298%, percentile 71.389%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian freerdp2 (Debian): \< 2.11.7+dfsg1-6~deb12u1
- ubuntu freerdp2 (Ubuntu): \< 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 \| \< 2.2.0+dfsg1-0ubuntu0.20.04.5 \| \< 2.6.1+dfsg1-3ubuntu2.4
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38 \| 39
- freerdp freerdp: ≥ 3.0.0-beta1, \< 3.0.0-beta3 \| \< 2.11.0 \| 3.0.0:beta1 \| 3.0.0:beta2

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gc34-mw6m-g42x>
- <https://github.com/FreeRDP/FreeRDP/commit/16141a30f983dd6f7a6e5b0356084171942c9416>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html>
- <https://security.gentoo.org/glsa/202401-16>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html>
- <https://ubuntu.com/security/CVE-2023-40589>
- <https://ubuntu.com/security/notices/USN-6401-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-40589>
- <https://security-tracker.debian.org/tracker/CVE-2023-40589>

---

Data as of 2026-12-05T09:54:33.619Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
