Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-40187— Use-After-Free in FreeRDP

Quick assessment

Affected
FreeRDP FreeRDP
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeRDP是FreeRDP团队的一款开源的远程桌面协议(RDP)的实现。 FreeRDP 存在资源管理错误漏洞,该漏洞源于在 avc420_ensure_buffer 和 avc444_ensure_buffer 函数中存在释放后重用问题。

CVSS 7.3 · High EPSS 1.16% · P66

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-40187

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Use-After-Free in FreeRDP
Source: CVE Program / CVE List V5
Vulnerability Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions of the 3.x beta branch are subject to a Use-After-Free issue in the `avc420_ensure_buffer` and `avc444_ensure_buffer` functions. If the value of `piDstSize[x]` is 0, `ppYUVDstData[x]` will be freed. However, in this case `ppYUVDstData[x]` will not have been updated which leads to a Use-After-Free vulnerability. This issue has been addressed in version 3.0.0-beta3. Users of the 3.x beta releases are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
FreeRDP 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeRDP是FreeRDP团队的一款开源的远程桌面协议(RDP)的实现。 FreeRDP 存在资源管理错误漏洞,该漏洞源于在 avc420_ensure_buffer 和 avc444_ensure_buffer 函数中存在释放后重用问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeRDP FreeRDP >= 3.0.0-beta1, < 3.0.0-beta3 -

II. Public POCs for CVE-2023-40187

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9290 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2023-40187

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-40187 (2)

Other References for CVE-2023-40187 (1)

Same Patch Batch · FreeRDP · 2023-08-31 · 17 CVEs total

CVE-2023-39355 7.0 HIGH FreeRDP Use-After-Free in RDPGFX_CMDID_RESETGRAPHICS
CVE-2023-40567 6.5 MEDIUM Out-Of-Bounds Write in FreeRDP
CVE-2023-40569 6.5 MEDIUM Out-Of-Bounds Write in FreeRDP
CVE-2023-40574 6.5 MEDIUM Out-Of-Bounds Write in FreeRDP
CVE-2023-40186 6.5 MEDIUM IntegerOverflow leading to Out-Of-Bound Write Vulnerability in FreeRDP
CVE-2023-39354 5.9 MEDIUM FreeRDP Out-Of-Bounds Read in nsc_rle_decompress_data
CVE-2023-39350 5.9 MEDIUM Incorrect offset calculation leading to denial of service in FreeRDP
CVE-2023-40576 5.3 MEDIUM Out-Of-Bounds Read in FreeRDP
CVE-2023-40575 5.3 MEDIUM Out-Of-Bounds Read in FreeRDP
CVE-2023-40188 5.3 MEDIUM Out-Of-Bounds Read in FreeRDP
CVE-2023-40181 5.3 MEDIUM Integer-Underflow leading to Out-Of-Bound Read in FreeRDP
CVE-2023-39356 5.3 MEDIUM Missing offset validation leading to Out-of-Bounds Read in FreeRDP
CVE-2023-39352 5.3 MEDIUM Invalid offset validation leading to Out Of Bound Write in FreeRDP
CVE-2023-39353 5.3 MEDIUM Missing offset validation leading to Out Of Bound Read in FreeRDP
CVE-2023-39351 5.3 MEDIUM FreeRDP Null Pointer Dereference leading denial of service
CVE-2023-40589 4.3 MEDIUM FreeRDP Global-Buffer-Overflow in ncrush_decompress

IV. Related Vulnerabilities

V. Comments for CVE-2023-40187

No comments yet


Leave a comment