An issue was discovered in WeeChat before 2.7.1 (0.3.4 to 2.7 are affected). When a new IRC message 005 is received with longer nick prefixes, a buffer overflow and possibly a crash can happen when a new mode is set for a nick.
https://weechat.org/doc/security/
https://security.gentoo.org/glsa/202003-51
https://lists.debian.org/debian-lts-announce/2021/09/msg00018.html
https://lists.debian.org/debian-lts-announce/2020/03/msg00031.html
https://github.com/weechat/weechat/commit/40ccacb4330a64802b1f1e28ed9a6b6d3ca9197f