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.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://weechat.org/doc/security/ | vendor advisory |
https://github.com/weechat/weechat/commit/40ccacb4330a64802b1f1e28ed9a6b6d3ca9197f | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2020/03/msg00031.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202003-51 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/09/msg00018.html | third party advisory mailing list |