{"id":"UBUNTU-CVE-2021-40516","details":"WeeChat before 3.2.1 allows remote attackers to cause a denial of service (crash) via a crafted WebSocket frame that trigger an out-of-bounds read in plugins/relay/relay-websocket.c in the Relay plugin.","modified":"2026-04-22T13:00:51.871337Z","published":"2021-09-05T18:15:00Z","related":["USN-5258-1"],"upstream":["CVE-2021-40516"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40516"},{"type":"REPORT","url":"https://github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b"},{"type":"REPORT","url":"https://weechat.org/doc/security/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5258-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-40516"}],"affected":[{"package":{"name":"weechat","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/weechat@1.4-2ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2ubuntu0.1+esm1"}]}],"versions":["1.3-1","1.3-1build1","1.4-1","1.4-1build1","1.4-1build2","1.4-2","1.4-2ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"weechat","binary_version":"1.4-2ubuntu0.1+esm1"},{"binary_name":"weechat-core","binary_version":"1.4-2ubuntu0.1+esm1"},{"binary_name":"weechat-curses","binary_version":"1.4-2ubuntu0.1+esm1"},{"binary_name":"weechat-plugins","binary_version":"1.4-2ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40516.json"}},{"package":{"name":"weechat","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/weechat@1.9.1-1ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1-1ubuntu1+esm1"}]}],"versions":["1.9.1-1","1.9.1-1build1","1.9.1-1ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"weechat","binary_version":"1.9.1-1ubuntu1+esm1"},{"binary_name":"weechat-core","binary_version":"1.9.1-1ubuntu1+esm1"},{"binary_name":"weechat-curses","binary_version":"1.9.1-1ubuntu1+esm1"},{"binary_name":"weechat-plugins","binary_version":"1.9.1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40516.json"}},{"package":{"name":"weechat","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/weechat@2.8-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8-1ubuntu0.1~esm1"}]}],"versions":["2.6-2","2.6-2build1","2.6-2build2","2.6-2ubuntu1","2.6-2ubuntu2","2.8-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"weechat","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-core","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-curses","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-guile","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-headless","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-lua","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-perl","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_version":"2.8-1ubuntu0.1~esm1","binary_name":"weechat-php"},{"binary_name":"weechat-plugins","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-python","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-ruby","binary_version":"2.8-1ubuntu0.1~esm1"},{"binary_name":"weechat-tcl","binary_version":"2.8-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40516.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}