{"id":"CVE-2026-109940","title":"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","summary":"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-b…","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-121"],"published":"2026-10-13","updated":"2026-10-13","sourceUpdated":"2026-10-13T14:17:31.910","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-109940","references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/freerdp-3.0.0-beta1-before-3.32.0-stack-buffer-overflow-via-pkcs-11-key-name","label":"disclosure@vulncheck.com"},{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-g8jw-gv54-r94p","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"ingestedAt":"2026-10-13T14:29:01.849Z","slug":"CVE-2026-109940","body":"## Overview\n\nFreeRDP 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}