{"schemaVersion":3,"id":"CVE-2021-40516","aliases":["MGASA-2021-0466","openSUSE-SU-2022:0083-1","UBUNTU-CVE-2021-40516","DEBIAN-CVE-2021-40516"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-09-05T17:14:24.000Z","modified":"2024-08-04T02:44:10.836Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01594,"percentile":0.75487,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01594},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01594,"percentile":0.75487}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01594,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01594,"percentile":0.75487}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"debian","product":"weechat","name":"weechat","label":"weechat","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/weechat","purlType":"deb","versions":[{"text":"< 3.2.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"weechat","name":"weechat","label":"weechat","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/weechat","purlType":"deb","versions":[{"text":"< 1.4-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.1-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.8-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4-2ubuntu0.1+esm1 | < 1.9.1-1ubuntu1+esm1 | < 2.8-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"weechat","name":"weechat","label":"weechat","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/weechat","purlType":"rpm","versions":[{"text":"< 3.0-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0-1.1.mga8","eol":null,"hubHref":null},{"vendor":"opensuse","product":"weechat&distro=openSUSE Leap 15.3","name":"weechat","label":"weechat&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/weechat&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 3.2.1-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.1-bp153.2.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"weechat&distro=SUSE Package Hub 15 SP3","name":"weechat","label":"weechat&distro=SUSE Package Hub 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/weechat&distro=SUSE Package Hub 15 SP3","purlType":"rpm","versions":[{"text":"< 3.2.1-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.1-bp153.2.3.1","eol":null,"hubHref":null},{"vendor":"weechat","product":"weechat","name":"weechat","label":"weechat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.4.1, < 3.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.4.1, < 3.2.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"weechat","label":"WeeChat","category":"app"}},"hubHref":"/vendor/weechat/weechat"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://weechat.org/doc/security/","label":"weechat.org/doc/security/","hostname":"weechat.org","tags":["X Refsource MISC","REPORT","Patch","Vendor Advisory"]},{"url":"https://github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b","label":"github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00018.html","label":"lists.debian.org/debian-lts-announce/2021/09/msg00018.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0466.html","label":"advisories.mageia.org/MGASA-2021-0466.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29513","label":"bugs.mageia.org/show_bug.cgi?id=29513","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.debian.org/lts/security/2021/dla-2770","label":"www.debian.org/lts/security/2021/dla-2770","hostname":"www.debian.org","tags":["WEB"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BIN6EHDK3X2MKPRRVYID7266KDLB6SHB/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1190206","label":"bugzilla.suse.com/1190206","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-40516","label":"www.suse.com/security/cve/CVE-2021-40516","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-40516","label":"ubuntu.com/security/CVE-2021-40516","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5258-1","label":"ubuntu.com/security/notices/USN-5258-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40516","label":"www.cve.org/CVERecord?id=CVE-2021-40516","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40516","label":"security-tracker.debian.org/tracker/CVE-2021-40516","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2770-1","USN-5258-1"],"duplicates":[],"related":["USN-5258-1"]},"timeline":[{"kind":"published","date":"2021-09-05T17:14:24.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T02:44:10.836Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:16:53.950Z","stale":false,"partial":false}}