BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-68118 in Freerdp

Critical 9.1

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 gu...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
CVSS v46.6
EPSS0.4%
EPSS percentile30th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Freerdp Freerdp < 3.20.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-68118
BreachSpider IDBS-2025-GLOBAL-032905-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published2025-12-17
Last modified2026-10-13
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in FreeRDP's certificate handling code on Windows platforms prior to version 3.20.0 can lead to improper handling of certificate cache filenames, potentially allowing for buffer overflow or other security issues.

The vulnerability arises from the use of the Microsoft-specific _snprintf function in the freerdp_certificate_data_hash_ function, which does not guarantee NUL termination when truncation occurs. This can lead to buffer overflow conditions if an attacker can control the input to the function.

Questions

What is CVE-2025-68118?

A vulnerability in FreeRDP's certificate handling code on Windows platforms prior to version 3.20.0 can lead to improper handling of certificate cache filenames, potentially allowing for buffer overflow or other security issues.

What is the CVSS score for CVE-2025-68118?

CVE-2025-68118 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 0.4%.

Is CVE-2025-68118 actively exploited?

No confirmed active exploitation of CVE-2025-68118 as of 2026-10-14.

How do I remediate CVE-2025-68118?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-68118?

CVE-2025-68118 affects Freerdp Freerdp.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Freerdp","product":"Freerdp","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-13.