Multiple buffer overflows in SmartFTP 1.0.973, and other versions before 1.0.976, allow remote attackers to execute arbitrary code via (1) a long response to a PWD command, which triggers a stack-based overflow, and (2) a long line in a response to a file LIST command, which triggers a heap-based overflow.
https://exchange.xforce.ibmcloud.com/vulnerabilities/12231
https://exchange.xforce.ibmcloud.com/vulnerabilities/12228
http://www.securityfocus.com/bid/7861
http://www.securityfocus.com/bid/7858
http://securitytracker.com/id?1006956
http://security.nnov.ru/docs4679.html
http://secunia.com/advisories/8998
http://archives.neohapsis.com/archives/bugtraq/2003-06/0083.html