What’s Vulnerable › Vulnerabilities
CVE-2026-109940: FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name
- Severity: medium (CVSS 4.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-10-13 · updated 2026-10-26
- Weakness: CWE-121
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.
Affected products
- FreeRDP: from 3.0.0 before 3.32.0 — fixed in 3.32.0
- FreeRDP: from 3.0.0-beta1 before 3.32.0 — fixed in 3.32.0
How to fix
Upgrade to a fixed version: FreeRDP 3.32.0; FreeRDP 3.32.0. Check the vendor advisory for mitigations.
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p
- https://www.vulncheck.com/advisories/freerdp-3.0.0-beta1-before-3.32.0-stack-buffer-overflow-via-pkcs-11-key-name
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p
Get alerted when CVE-2026-109940 or the next vulnerability affects your stack