Stack-based buffer overflow in the ir_fetch_seq function in balsa before 2.3.20 might allow remote IMAP servers to execute arbitrary code via a long response to a FETCH command.
https://bugzilla.redhat.com/show_bug.cgi?id=297581
http://www.vupen.com/english/advisories/2007/3263
http://www.securityfocus.com/bid/25777
http://www.novell.com/linux/security/advisories/2007_19_sr.html
http://www.gentoo.org/security/en/glsa/glsa-200710-17.xml
http://secunia.com/advisories/27272
http://secunia.com/advisories/26987
http://secunia.com/advisories/26947
http://mail.gnome.org/archives/balsa-list/2007-September/msg00010.html