Irssi before 1.0.5, while waiting for the channel synchronisation, may incorrectly fail to remove destroyed channels from the query list, resulting in use-after-free conditions when updating the state later on.
https://www.debian.org/security/2017/dsa-4016
https://lists.debian.org/debian-lts-announce/2017/12/msg00022.html