PT-2025-51934 · Microsoft+1 · Windows+1
Ret2Ldz
·
Published
2025-12-17
·
Updated
2026-01-02
·
CVE-2025-68118
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
FreeRDP versions prior to 3.20.0
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. A flaw exists in the certificate handling code on Windows platforms. The
freerdp certificate data hash function utilizes the snprintf function to format certificate cache filenames without ensuring NUL termination when truncation happens. Microsoft documentation indicates that snprintf doesn't add a terminating NUL byte if the output exceeds the buffer size. An attacker controlling the hostname value, potentially through server redirection or a crafted .rdp file, could cause the filename buffer to lack NUL termination. Subsequent string operations on this buffer may lead to a heap-based out-of-bounds read. While the connection usually terminates before sensitive data is exposed, a client crash or unintended memory read may occur.Recommendations
Update to version 3.20.0 or later.
Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Freerdp
Windows