FreeRDP versions prior to 3.32.0 contain a heap buffer overflow vulnerability in the collect_keys() function. This flaw allows local attackers controlling smartcard tokens to write beyond the fixed 64-entry keys array during PKCS#11 key enumeration. By presenting more than 64 public key objects across multiple slots, attackers can corrupt heap memory with attacker-controlled data during smartcard logon.