FreeRDP up to 3.19.x on Windows Remote Desktop Protocol freerdp_certificate_data_hash Hostname out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 7.8
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 279429
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-68118

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: FreeRDP 3.20.0
Patch: a0b21f992a9de1de2468fc9e600aa2b7a4066307

Timelineinfo

12/15/2025 CVE reserved
12/17/2025 +2 days Advisory disclosed
12/17/2025 +0 days VulDB entry created
01/02/2026 +16 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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

Entryinfo

Created: 12/17/2025 23:55
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!