CVE-2023-40187: FreeRDP - Use After Free
- Cve: CVE-2023-40187
- Name: FreeRDP - Use After Free
- Description: FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions of the 3.x beta branch are subject to a Use-After-Free issue in the `avc420_ensure_buffer` and `avc444_ensure_buffer` functions. If the value of `piDstSize[x]` is 0, `ppYUVDstData[x]` will be freed. However, in this case `ppYUVDstData[x]` will not have been updated which leads to a Use-After-Free vulnerability. This issue has been addressed in version 3.0.0-beta3. Users of the 3.x beta releases are advised to upgrade. There are no known workarounds for this vulnerability.
- Impact: Attackers can execute arbitrary code or cause denial of service by exploiting the use-after-free vulnerability.
- Remediation: Upgrade to version 3.0.0-beta3 or later.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01157
- Epss percentile: 0.67889
- Assignee: [email protected]
- Published at: 2023-08-31T22:15:08Z
- Age in days: 1181
- Modified at: 2026-06-17T06:16:37Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40187
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f | nvd | 2023-08-31 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freerdp:freerdp | = 3.0.0 beta1, = 3.0.0 beta2 | no | nvd | /v1/products/freerdp/freerdp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| FreeRDP/FreeRDP | security_advisory | yes | /v1/repositories/FreeRDP/FreeRDP |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts