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

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-13T13:27:10.112Z
- Modified: 2026-10-26T20:36:08.590Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: from 3.0.0-beta1 before 3.32.0; from 3.0.0 before 3.32.0 (not affected: 3.32.0)

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p> (exploit, mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/freerdp-3.0.0-beta1-before-3.32.0-stack-buffer-overflow-via-pkcs-11-key-name> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109940](https://www.cve.org/CVERecord?id=CVE-2026-109940), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-109940](https://nvd.nist.gov/vuln/detail/CVE-2026-109940), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-109940 · Whole record: https://cve.day/CVE-2026-109940.json · Rebuilt by cve.day 2026-11-25T22:59:43.811Z
