An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. imap_quote_string in imap/util.c does not leave room for quote characters, leading to a stack-based buffer overflow.
https://www.debian.org/security/2018/dsa-4277
https://usn.ubuntu.com/3719-3/
https://usn.ubuntu.com/3719-2/
https://usn.ubuntu.com/3719-1/
https://security.gentoo.org/glsa/201810-07
https://neomutt.org/2018/07/16/release
https://lists.debian.org/debian-lts-announce/2018/08/msg00001.html
https://gitlab.com/muttmua/mutt/commit/e0131852c6059107939893016c8ff56b6e42865d
https://github.com/neomutt/neomutt/commit/e27b65b3bf8defa34db58919496056caf3850cd4