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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-109940— FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name

Quick assessment

Affected
FreeRDP FreeRDP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Unix 平台上构建并启用了 PKCS#11 支持的 FreeRDP 3.0.0-beta1 至 3.32.0 版本中,WinPR 的 NCrypt PKCS#11 提供程序内的 wprintKeyName() 函数存在栈缓冲区溢出漏洞。该函数会将密钥的 CKA_ID(最长可达 64 字节)进行十六进制编码后存入一个固定大小为 128 字节的栈缓冲区中。攻击者可以通过提供恶意的 PKCS#11 令牌或模块,使其密钥及匹配的证书包含 55 至 64 字节的 CKA_ID,从而在密钥枚举过程中触发客户端栈溢出,导致

CVSS 4.3 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
FreeRDP FreeRDP 3.0.0-beta1< 3.32.0 affected
3.32.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-109940

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
FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name
Source: CVE Program / CVE List V5
Vulnerability Description
FreeRDP 3.0.0-beta1 before 3.32.0 on Unix builds with PKCS#11 support has a stack-based buffer overflow in wprintKeyName() in WinPR's NCrypt PKCS#11 provider. It hex-encodes a key's CKA_ID, which can be up to 64 bytes, into a fixed 128-byte stack buffer. An attacker supplying a malicious PKCS#11 token or module whose key and matching certificate use a 55- to 64-byte CKA_ID can overflow the client's stack during key enumeration, causing a crash.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeRDP FreeRDP 3.0.0-beta1 ~ 3.32.0 -

II. Public POCs for CVE-2026-109940

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-109940

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

Vendor Advisories for CVE-2026-109940 (2)

Same Patch Batch · FreeRDP · 2026-10-13 · 21 CVEs total

CVE-2026-109676 8.8 HIGH FreeRDP 3.0.0-beta1 before 3.32.0 Use-After-Free via Smartcard Connect
CVE-2026-109678 6.5 MEDIUM FreeRDP 3.0.0-beta1 before 3.32.0 Reachable Assertion via Emulated SCardStatusA
CVE-2026-109677 6.5 MEDIUM FreeRDP 2.0.0-beta1 before 3.28.0 Out-of-Bounds Read via LocateCardsByATRA Handler
CVE-2026-109942 6.5 MEDIUM FreeRDP 2.3.0 before 3.32.0 NULL Pointer Dereference via RD Gateway Close Channel Packet
CVE-2026-109941 6.5 MEDIUM FreeRDP 2.3.0 before 3.32.0 Infinite Loop via RD Gateway Chunked Response
CVE-2026-109938 6.5 MEDIUM FreeRDP 3.11.0 before 3.32.0 Integer Overflow via Mapped Video Geometry Update
CVE-2026-109946 6.5 MEDIUM FreeRDP 3.11.0 before 3.32.0 Reachable Assertion via AVC444 Odd Region Width
CVE-2026-109944 6.5 MEDIUM FreeRDP 3.0.0 before 3.32.0 Reachable Assertion via Stale Smartcard Handle
CVE-2026-109939 6.5 MEDIUM FreeRDP 3.27.1 before 3.32.0 NULL Pointer Dereference via Cache Bitmap V3 Order
CVE-2026-109943 6.5 MEDIUM FreeRDP 3.29.0 before 3.32.0 Double Free via Async-Update Polygon Order
CVE-2026-109947 6.5 MEDIUM FreeRDP 3.20.1 before 3.32.0 Unbounded Allocation via drive_process_irp_read
CVE-2026-109949 6.5 MEDIUM FreeRDP 3.0.0 before 3.32.0 PIN Brute-Force via Virtual Smartcard
CVE-2026-109953 5.3 MEDIUM FreeRDP 3.0.0 before 3.32.0 Cleartext Credential Disclosure via /restricted-admin
CVE-2026-109952 5.3 MEDIUM FreeRDP 3.0.0 before 3.32.0 Security Protocol Downgrade via Negotiation Response
CVE-2026-109680 5.3 MEDIUM FreeRDP 3.18.0 before 3.32.0 Heap Out-of-Bounds Write via ARM Redirected Username
CVE-2026-109945 5.3 MEDIUM FreeRDP 3.0.0 before 3.32.0 Smartcard Use-After-Free via Concurrent Disconnect and Transmi
CVE-2026-109679 5.3 MEDIUM FreeRDP 3.0.0-beta4 before 3.32.0 NULL Pointer Crash via ARM Response
CVE-2026-109951 5.3 MEDIUM FreeRDP 3.17.1 before 3.32.0 Heap Buffer Over-Read via Proxy DRDYNVC Channel Name
CVE-2026-109948 4.3 MEDIUM FreeRDP 3.0.0 before 3.32.0 Memory Disclosure via SCardTransmit Smartcard Redirection
CVE-2026-109950 4.3 MEDIUM FreeRDP 3.0.0 before 3.32.0 Heap Out-of-Bounds Read via RD Gateway Messages

IV. Related Vulnerabilities

V. Comments for CVE-2026-109940

No comments yet


Leave a comment