CVE-2026-109940: FreeRDP 3.0.0-beta1 before 3.32.0 on Unix builds with PKCS#11 support has a stack-based buffer overflow in wpr
CVE-2026-109940 is a medium-severity flaw (CVSS 4.3) affecting freerdp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Physical |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.1% (top 96%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2026-10-13 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-109940?
freerdp: upgrade to 3.32.0. Exact commands for each OS are on this page.
Is CVE-2026-109940 being exploited?
CVE-2026-109940 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-109940 affect?
CVE-2026-109940 affects freerdp. Severity is medium (CVSS 4.3). 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
How urgent is CVE-2026-109940?
Priority 21/100. Public exploit reference
Related CVEs
- CVE-2026-109939 MEDIUM 6.5 UPGRADE FreeRDP 3.27.1 before 3.32.0 contains a NULL pointer dereference in update_read_cache_bitmap_v3_order() in lib
- CVE-2026-109938 MEDIUM 6.5 UPGRADE Positive mapped-video coordinates overflow and abort FreeRDP clients A malicious or compromised RDP server can
- CVE-2026-109941 MEDIUM 6.5 UPGRADE FreeRDP from 2.3.0 before 3.32.0 contains an infinite loop vulnerability in http_chuncked_read that allows mal
- CVE-2026-109942 MEDIUM 6.5 UPGRADE FreeRDP 2.3.0 before 3.32.0 dereferences a NULL stream in rdg_process_close_packet in libfreerdp/core/gateway/
- CVE-2026-109943 MEDIUM 6.5 UPGRADE FreeRDP 3.29.0 before 3.32.0 contains a double free in the client's async-update message proxy, which shallow-