A stack based buffer overflow was found in the get_matching_data() function, when reading the principal’s certificate during pkinit preauthentication. If the Certifcate Authority’s subject line is sufficiently long, an attacker able to have a specially crafted certificate signed could crash the authentication process, such as kinit, or, possibly, run arbitrary code.