WeeChat before 1.7.1 allows a remote crash by sending a filename via DCC to the IRC plugin. This occurs in the irc_ctcp_dcc_filename_without_quotes function during quote removal, with a buffer overflow.
https://weechat.org/news/95/20170422-Version-1.7.1/
https://weechat.org/download/security/
https://github.com/weechat/weechat/commit/2fb346f25f79e412cf0ed314fdf791763c19b70b