CVE-2025-68118 (CNNVD-202512-3172)

MEDIUM
中文标题:
FreeRDP 缓冲区错误漏洞
英文标题:
Potential Heap Out-of-Bounds Read in freerdp_certificate_data_hash_ via Unsafe _snprintf Usage
CVSS分数: 6.6
发布时间: 2025-12-17 22:01:14
漏洞类型: 缓冲区错误
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

FreeRDP是FreeRDP团队的一款开源的远程桌面协议(RDP)的实现。 FreeRDP 3.20.0之前版本存在缓冲区错误漏洞,该漏洞源于证书处理代码中未保证NUL终止,可能导致堆越界读取。

英文描述:

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.

CWE类型:
CWE-125
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
FreeRDP FreeRDP < 3.20.0 - - cpe:2.3:a:freerdp:freerdp:<_3.20.0:*:*:*:*:*:*:*
freerdp freerdp * - - cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h78c-5cjx-jw6x x_refsource_CONFIRM
cve.org
访问
https://github.com/FreeRDP/FreeRDP/commit/a0b21f992a9de1de2468fc9e600aa2b7a4066307 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
6.6
CVSS向量: 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
机密性
NONE
完整性
NONE
可用性
HIGH
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2025-12-17 22:01:14
修改时间:
2025-12-18 15:07:39
创建时间:
2026-01-12 02:12:28
更新时间:
2026-01-26 02:11:38
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-68118 2025-12-19 03:24:15 2026-01-12 02:12:28
NVD nvd_CVE-2025-68118 2026-01-03 03:00:09 2026-01-12 02:28:10
CNNVD cnnvd_CNNVD-202512-3172 2026-01-11 06:15:04 2026-01-12 02:38:02
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-12 02:38:02
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202512-3172; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 缓冲区错误
  • cnnvd_id: 未提取 -> CNNVD-202512-3172
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-12 02:28:10
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']