Buffer overflow in Freerdp
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 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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p (vendor-advisory)
- www.vulncheck.com/advisories/freerdp-3.0.0-beta1-before-3.32.0-stack-buffer-ove… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-109940?
- CVE-2026-109940 is a medium-severity vulnerability in Freerdp, classified under Stack-based Buffer Overflow. CVSS score: 4.3/10. Published 2026-10-13.
- How severe is CVE-2026-109940?
- Medium severity. CVSS v3 base score is 4.3 out of 10.