An issue exists in smartcard handling where a use-after-free condition occurs. This allows an attacker to access a freed smartcard handle object following an invalid connect operation. By triggering this invalid operation, an attacker can cause the reuse of the freed handle, resulting in memory corruption or system crashes. Use-after-free is a memory corruption flaw where an application continues to use a pointer after it has been freed.