FreeRDP up to 3.19.x on Windows Remote Desktop Protocol freerdp_certificate_data_hash Hostname out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in FreeRDP up to 3.19.x on Windows and classified as problematic. Affected by this vulnerability is the function freerdp_certificate_data_hash of the component Remote Desktop Protocol. Performing a manipulation of the argument Hostname results in out-of-bounds.
This vulnerability is known as CVE-2025-68118. Remote exploitation of the attack is possible. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability classified as critical has been found in FreeRDP up to 3.19.x on Windows. This affects the function freerdp_certificate_data_hash of the component Remote Desktop Protocol. The manipulation of the argument hostname with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, and availability. The summary by CVE is:
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.20.0, a vulnerability exists in FreeRDP’s certificate handling code on Windows platforms. The function `freerdp_certificate_data_hash_ uses` the Microsoft-specific `_snprintf` function to format certificate cache filenames without guaranteeing NUL termination when truncation occurs. According to Microsoft documentation, `_snprintf` does not append a terminating NUL byte if the formatted output exceeds the destination buffer size. If an attacker controls the hostname value (for example via server redirection or a crafted .rdp file), the resulting filename buffer may not be NUL-terminated. Subsequent string operations performed on this buffer may read beyond the allocated memory region, resulting in a heap-based out-of-bounds read. In default configurations, the connection is typically terminated before sensitive data can be meaningfully exposed, but unintended memory read or a client crash may still occur under certain conditions. Version 3.20.0 has a patch for the issue.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-68118 since 12/15/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 279429 (Linux Distros Unpatched Vulnerability : CVE-2025-68118), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.20.0 eliminates this vulnerability. Applying the patch a0b21f992a9de1de2468fc9e600aa2b7a4066307 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (279429) and CERT Bund (WID-SEC-2025-2877). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Open Source FreeRDP
Product
Type
Name
Version
License
Website
- Product: https://github.com/FreeRDP/FreeRDP/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.6
VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 279429
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-68118
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: FreeRDP 3.20.0
Patch: a0b21f992a9de1de2468fc9e600aa2b7a4066307
Timeline
12/15/2025 CVE reserved12/17/2025 Advisory disclosed
12/17/2025 VulDB entry created
01/02/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-h78c-5cjx-jw6x
Status: Confirmed
CVE: CVE-2025-68118 (🔒)
GCVE (CVE): GCVE-0-2025-68118
GCVE (VulDB): GCVE-100-337095
CERT Bund: WID-SEC-2025-2877 - FreeRDP: Schwachstelle ermöglicht Denial of Service
Entry
Created: 12/17/2025 23:55Updated: 01/02/2026 18:33
Changes: 12/17/2025 23:55 (74), 12/18/2025 20:07 (7), 12/20/2025 13:03 (1), 12/21/2025 01:06 (2), 01/02/2026 18:33 (11)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.