Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before 2007-004, as used by the FTP daemon and tnftpd, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion.
https://exchange.xforce.ibmcloud.com/vulnerabilities/30670
http://www.vupen.com/english/advisories/2007/1470
http://www.us-cert.gov/cas/techalerts/TA07-109A.html
http://www.securityfocus.com/bid/21377
http://securitytracker.com/id?1017386
http://secunia.com/advisories/24966
http://secunia.com/advisories/23178
http://lists.grok.org.uk/pipermail/full-disclosure/2006-December/051009.html
http://lists.apple.com/archives/Security-announce/2007/Apr/msg00001.html
http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-027.txt.asc