CVE-2026-109940 PUBLISHED

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

Assigner: VulnCheck
Reserved: 13.10.2026 Published: 13.10.2026 Updated: 13.10.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.1

Product Status

Vendor FreeRDP
Product FreeRDP
Versions Default: unaffected
  • affected from 3.0.0-beta1 to 3.32.0 (excl.)
  • Version 3.32.0 is unaffected

Credits

  • Kushalkhemka finder
  • opensec-intelligence finder
  • mayank-jangid-moon finder
  • skigeek16 finder

References

Problem Types

  • Stack-based Buffer Overflow CWE