Buffer overflow in mIRC 5.91 and earlier allows a remote server to execute arbitrary code on the client via a long nickname.
http://www.uuuppz.com/research/adv-001-mirc.htm
http://www.securityfocus.com/bid/4027
http://www.iss.net/security_center/static/8083.php