Buffer overflow in University of Washington imap server (uw-imapd) imap-2001 (imapd 2001.315) and imap-2001a (imapd 2001.315) with legacy RFC 1730 support, and imapd 2000.287 and earlier, allows remote authenticated users to execute arbitrary code via a long BODY request.
https://exchange.xforce.ibmcloud.com/vulnerabilities/10803
http://www.washington.edu/imap/buffer.html
http://www.securityfocus.com/bid/4713
http://www.redhat.com/support/errata/RHSA-2002-092.html
http://www.linuxsecurity.com/advisories/other_advisory-2120.html
http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-034.php
http://www.kb.cert.org/vuls/id/961489
http://www.iss.net/security_center/static/9055.php
http://online.securityfocus.com/advisories/4167
http://marc.info/?l=bugtraq&m=102107222100529&w=2
http://distro.conectiva.com/atualizacoes/?id=a&anuncio=000487