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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-13 · Modified: 2026-10-13
- Aliases: DEBIAN-CVE-2026-109940, UBUNTU-CVE-2026-109940
- Record: https://cvemate.com/vulnerability/CVE-2026-109940 · JSON: https://cvemate.com/vulnerability/CVE-2026-109940/json

## Description

```text
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.
```

## Signals

- CVSS: 5.1 medium (v4.0, CVE.org) CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.139%, percentile 3.417%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): All versions (No fix recorded) \| \< 3.32.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.32.0+dfsg-0ubuntu0.24.04.1 \| \< 3.32.0+dfsg-0ubuntu0.26.04.1
- freerdp freerdp: ≥ 3.0.0-beta1, \< 3.32.0 \| ≥ 3.0.0, \< 3.32.0

## 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://security-tracker.debian.org/tracker/CVE-2026-109940>
- <https://ubuntu.com/security/CVE-2026-109940>
- <https://www.cve.org/CVERecord?id=CVE-2026-109940>

---

Data as of 2026-12-05T14:04:46.411Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
