In Wireshark 2.2.0 to 2.2.5 and 2.0.0 to 2.0.11, the BGP dissector could go into an infinite loop, triggered by packet injection or a malformed capture file. This was addressed in epan/dissectors/packet-bgp.c by using a different integer data type.
www.securityfocus.com/bid/97632
www.securitytracker.com/id/1038262
bugs.wireshark.org/bugzilla/show_bug.cgi?id=13557
code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=fa31f69b407436d0946f84baa0acdcc50962bf7a
security.gentoo.org/glsa/201706-12
www.wireshark.org/security/wnpa-sec-2017-16.html