製品・ソフトウェアに関する情報
FreeRDPにおけるヒープベースのバッファオーバーフローの脆弱性
Title FreeRDPにおけるヒープベースのバッファオーバーフローの脆弱性
Summary

FreeRDPのバージョン3.26.0以前には、gdi_CacheToSurfaceにヒープバッファオーバーフローの脆弱性が存在します。この脆弱性により、リモートの攻撃者が境界外のヒープメモリに書き込むことが可能です。脆弱性は、矩形の検証が座標をUINT16_MAXに制限する一方で、コピー操作では制限されていないキャッシュエントリの寸法を使用するために発生します。これにより、悪意のあるRDPサーバーが大きな境界外書き込みを引き起こし、リモートコードを実行したり、クライアントをクラッシュさせたりする可能性があります。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 26, 2026, midnight
Registration Date May 29, 2026, 11:17 a.m.
Last Update May 29, 2026, 11:17 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected System
FreeRDP
FreeRDP 3.26.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月29日]
  掲載
May 29, 2026, 11:17 a.m.

NVD Vulnerability Information
CVE-2026-40033
Summary

FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability in gdi_CacheToSurface that allows remote attackers to write out-of-bounds heap memory. The vulnerability occurs because rectangle validation clamps coordinates to UINT16_MAX but performs copy operations using unclamped cache entry dimensions, enabling malicious RDP servers to trigger large out-of-bounds writes and potentially achieve remote code execution or client crash.

Publication Date May 27, 2026, 12:16 a.m.
Registration Date May 27, 2026, 4:08 a.m.
Last Update May 27, 2026, 11:48 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* 3.26.0
Related information, measures and tools
Common Vulnerabilities List