Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 through 2.6.2 via commands that cause pathnames of length MAXPATHLEN+1 to trigger a buffer overflow, including (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, or (8) RNTO.
https://exchange.xforce.ibmcloud.com/vulnerabilities/12785
http://www.mandriva.com/security/advisories?name=MDKSA-2003:080
http://www.kb.cert.org/vuls/id/743092
http://marc.info/?l=bugtraq&m=106002488209129&w=2
http://marc.info/?l=bugtraq&m=106001702232325&w=2