In Wireshark 2.2.0 to 2.2.5 and 2.0.0 to 2.0.11, the IMAP dissector could crash, triggered by packet injection or a malformed capture file. This was addressed in epan/dissectors/packet-imap.c by calculating a line’s end correctly.
www.securityfocus.com/bid/97636
www.securitytracker.com/id/1038262
bugs.wireshark.org/bugzilla/show_bug.cgi?id=13466
code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=671e32820ab29d41d712cc8a472eab9b672684d9
lists.debian.org/debian-lts-announce/2019/01/msg00010.html
security.gentoo.org/glsa/201706-12
www.wireshark.org/security/wnpa-sec-2017-12.html