Buffer overflow in Freerdp
CVE-2023-39352
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should 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 vulnerability.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.015, 75.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions 3.0.0, < 2.11.0, >= 3.0.0-beta1, < 3.0.0-beta3
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 37, 38, 39
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (pwn2carr/pwn2carr). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-whwr-qcf2-2mvj (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/blob/63a2f65618748c12f79ff7450d46c6e194f2db76/libfreerdp/gdi/gfx.c#L1219-L1239 (Issue Tracking)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.debian.org/debian-lts-announce/2023/10/msg00008.html (Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202401-16 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/02/msg00016.html