CVE-2026-109940

FreeRDP 3.0.0-beta1 before 3.32.0 Stack Buffer Overflow via PKCS#11 Key Name

State
Published
Severity
5.1 Medium
Published
Oct 13, 2026
Updated
Oct 13, 2026
Reserved
Oct 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.14.3 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
FreeRDPFreeRDP
  • 3.0.0-beta1 to before 3.32.0Affected
  • 3.32.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.