Stack-based buffer overflow in the IMAP service in NetWin Surgemail 3.8k4-4 and earlier allows remote authenticated users to execute arbitrary code via a long first argument to the LIST command.
https://www.exploit-db.com/exploits/5259
https://euvd.enisa.europa.eu/vulnerability/EUVD-2008-1500
http://www.vupen.com/english/advisories/2008/0901/references
http://www.securityfocus.com/bid/28260