Stack-based buffer overflow in the Line Printer Daemon (LPD) in Cisco IOS before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6 allow remote attackers to execute arbitrary code by setting a long hostname on the target system, then causing an error message to be printed, as demonstrated by a telnet session to the LPD from a source port other than 515.
https://exchange.xforce.ibmcloud.com/vulnerabilities/37046
http://www.vupen.com/english/advisories/2007/3457
http://www.securitytracker.com/id?1018798
http://www.kb.cert.org/vuls/id/230505
http://www.irmplc.com/index.php/155-Advisory-024
http://www.cisco.com/en/US/products/products_security_response09186a00808d72e3.html