Home / FreeRDP / FreeRDP / CVE-2025-68118
CVE-2025-68118: is it exploited, and which versions of FreeRDP are affected and fixed?
CVE-2025-68118 is an out-of-bounds read vulnerability in FreeRDP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: FreeRDP < 3.20.0 (CVE record by GitHub_M). Fixed in 3.20.0 (NVD). Severity: Medium (6.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-68118?
Potential Heap Out-of-Bounds Read in freerdp_certificate_data_hash_ via Unsafe _snprintf Usage
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.
From the CVE record by GitHub_M, last updated December 18, 2025, 15:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| FreeRDP | FreeRDP | < 3.20.0 |
As the CVE record by GitHub_M states it, last updated December 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freerdp | freerdp | before 3.20.0 | application |
NVD analysis (status Analyzed), last modified October 13, 2026, 11:10 UTC.
How severe is CVE-2025-68118?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | GitHub_M |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-68118 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 18, 2025)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h78c-5cjx-jw6x x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/a0b21f992a9de1de2468fc9e600aa2b7a4066307 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 15, 2025
- Published
- December 17, 2025, 22:01 UTC
- CVE record updated
- December 18, 2025, 15:07 UTC by GitHub_M
- NVD
- Analyzed, last modified October 13, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect FreeRDP?
- Dec 2, 2026CVE-2026-142099 FreeRDP: use after free
- Nov 26, 2026CVE-2026-137452 FreeRDP: race condition
- Nov 26, 2026CVE-2026-137453 FreeRDP: credentials insufficiently protected
- Nov 26, 2026CVE-2026-137454 FreeRDP: out-of-bounds read
- Nov 26, 2026CVE-2026-137455 FreeRDP: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-137456 FreeRDP: integer overflow
- Nov 26, 2026CVE-2026-137457 FreeRDP: missing authentication for a critical function
- Nov 26, 2026CVE-2026-137458 FreeRDP: improper Handling of Length Parameter Inconsistency
Questions about CVE-2025-68118
Is CVE-2025-68118 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of FreeRDP are affected by CVE-2025-68118?
FreeRDP < 3.20.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-68118?
3.20.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-68118?
Medium (6.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-68118?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.