# CVE-2021-40516: 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-boun…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-09-05T17:14:24.000Z
- Modified: 2026-06-17T04:07:04.293Z
- Weaknesses: CWE-125
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- weechat weechat: from 0.4.1 before 3.2.1
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://weechat.org/doc/security/> (patch, vendor-advisory)
- <https://github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00018.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-40516](https://www.cve.org/CVERecord?id=CVE-2021-40516), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40516](https://nvd.nist.gov/vuln/detail/CVE-2021-40516), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40516 · Whole record: https://cve.day/CVE-2021-40516.json · Rebuilt by cve.day 2026-11-25T22:58:03.650Z
