CVE-2023-39350
Incorrect offset calculation leading to denial of service in FreeRDP
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. This issue affects Clients only. Integer underflow leading to DOS (e.g. abort due to `WINPR_ASSERT` with default compilation flags). When an insufficient blockLen is provided, and proper length validation is not performed, an Integer Underflow occurs, leading to a Denial of Service (DOS) vulnerability. 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.
FreeRDP es una implementación libre del Protocolo de Escritorio Remoto (RDP), publicado bajo la licencia Apache. Este problema afecta sólo a los clientes. Desbordamiento incompleto de enteros que conduce al DOS (por ejemplo, aborto debido a `WINPR_ASSERT` con los indicadores de compilación predeterminados). Cuando se proporciona un blockLen insuficiente y no se realiza la validación de longitud adecuada, se produce un desbordamiento de enteros, lo que provoca una vulnerabilidad de denegación de servicio (DOS). Este problema se ha solucionado en las versiones 2.11.0 y 3.0.0-beta3. Se recomienda a los usuarios que actualicen. No se conocen soluciones para esta vulnerabilidad.
A flaw was found in FreeRDP. When an insufficient blockLen value is provided and proper length validation is not performed, an Integer Underflow can occur, leading to a Denial of Service (DOS).
This update for freerdp fixes the following issues. Fixed incorrect offset calculation leading to DoS. Fixed Null Pointer Dereference leading DoS in RemoteFX. Fixed Invalid offset validation leading to Out Of Bound Write. Fixed Missing offset validation leading to Out Of Bound Read. Fixed Out-Of-Bounds Read in nsc_rle_decompress_data. Fixed Missing offset validation leading to Out-of-Bounds Read in gdi_multi_opaque_rect. Fixed Integer-Underflow leading to Out-Of-Bound Read in zgfx_decompress_segment. Fixed IntegerOverflow leading to Out-Of-Bound Write Vulnerability in gdi_CreateSurface. Fixed Out-Of-Bounds Read in general_LumaToYUV444. Fixed Out-Of-Bounds Write in clear_decompress_bands_data. Fixed Out-Of-Bounds Write in progressive_decompress. Fixed Out-Of-Bounds Write in general_YUV444ToRGB_8u_P3AC4R_BGRX. Fixed Out-Of-Bounds Read in general_YUV444ToRGB_8u_P3AC4R_BGRX. Fixed Out-Of-Bounds Read in RleDecompress. Fixed Global-Buffer-Overflow in ncrush_decompress.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-07-28 CVE Reserved
- 2023-08-31 CVE Published
- 2025-02-13 CVE Updated
- 2025-02-13 First Exploit
- 2025-07-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-191: Integer Underflow (Wrap or Wraparound)
CAPEC
References (9)
URL | Date | SRC |
---|---|---|
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rrrv-3w42-pffh | 2025-02-13 |
URL | Date | SRC |
---|---|---|
https://github.com/FreeRDP/FreeRDP/commit/e204fc8be5a372626b13f66daf2abafe71dbc2dc | 2024-01-12 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2023-39350 | 2024-04-30 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2236784 | 2024-04-30 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Freerdp Search vendor "Freerdp" | Freerdp Search vendor "Freerdp" for product "Freerdp" | < 2.11.0 Search vendor "Freerdp" for product "Freerdp" and version " < 2.11.0" | - |
Affected
| ||||||
Freerdp Search vendor "Freerdp" | Freerdp Search vendor "Freerdp" for product "Freerdp" | 3.0.0 Search vendor "Freerdp" for product "Freerdp" and version "3.0.0" | beta1 |
Affected
| ||||||
Freerdp Search vendor "Freerdp" | Freerdp Search vendor "Freerdp" for product "Freerdp" | 3.0.0 Search vendor "Freerdp" for product "Freerdp" and version "3.0.0" | beta2 |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 37 Search vendor "Fedoraproject" for product "Fedora" and version "37" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 38 Search vendor "Fedoraproject" for product "Fedora" and version "38" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 39 Search vendor "Fedoraproject" for product "Fedora" and version "39" | - |
Affected
|