CVE-2023-40574: freerdp Out-of-bounds Write
Vulnerability summary
CVE-2023-40574 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in freerdp. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 68% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 31-08-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LDiffers
EPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
0.00 pp
From 1.21% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundFreerdp
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Freerdp1 product
- freerdp≥ 3.0.0-beta1, < 3.0.0-beta3 | 3.0.0:beta1 | 3.0.0:beta2
Ubuntu1 product
- freerdp2< 2.2.0+dfsg1-0ubuntu0.20.04.4 | < 2.6.1+dfsg1-3ubuntu2.3
2 vendors · 2 products
References
5 links- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cwX Refsource CONFIRMREPORTExploitVendor Advisory