Buffer overflows in (1) try_netscape_proxy and (2) try_squid_eplf for lftp 2.6.9 and earlier allow remote HTTP servers to execute arbitrary code via long directory names that are processed by the ls or rels commands.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11180
http://www.redhat.com/support/errata/RHSA-2003-404.html
http://www.redhat.com/support/errata/RHSA-2003-403.html
http://www.novell.com/linux/security/advisories/2003_051_lftp.html
http://www.mandriva.com/security/advisories?name=MDKSA-2003:116
http://www.debian.org/security/2004/dsa-406
http://secunia.com/advisories/10548
http://secunia.com/advisories/10525
http://marc.info/?l=bugtraq&m=107340499504411&w=2
http://marc.info/?l=bugtraq&m=107177409418121&w=2
http://marc.info/?l=bugtraq&m=107167974714484&w=2