Vulnerability · Published Oct 13, 2026 · Assigned by VulnCheck
CVE-2026-109940FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name
Medium 4.3
In plain English
A medium-severity stack buffer overflow in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-109940 |
| Debian:13 | freerdp3 | no fix listed | DEBIAN-CVE-2026-109940 |
| Debian:14 | freerdp3 | 3.32.0+dfsg-1 | DEBIAN-CVE-2026-109940 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-109940 |
| Ubuntu:24.04:LTS | freerdp3 | 3.32.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-109940 |
| Ubuntu:26.04:LTS | freerdp3 | 3.32.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-109940 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- GitHub Security Advisory (GHSA-g8jw-gv54-r94p) vendor-advisory
- VulnCheck Advisory: FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name third-party-advisory