CVE-2021-40516: WeeChat before 3.2.1 allows remote attackers to cause a denial of service (crash) via a crafted WebSocket fram
CVE-2021-40516 is a high-severity flaw (CVSS 7.5) affecting weechat, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.6% (top 24%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2021-09-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40516?
weechat: upgrade to 3.2.1; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-40516 being exploited?
CVE-2021-40516 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-40516 affect?
CVE-2021-40516 affects weechat, debian linux. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2021-40516?
Priority 55/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2024-46613 CRITICAL 9.8 UPGRADE WeeChat before 4.4.2 has an integer overflow and resultant buffer overflow at core/core-string.c when there ar
- CVE-2022-28352 MEDIUM 4.3 UPGRADE WeeChat (aka Wee Enhanced Environment for Chat) 3.2 to 3.4 before 3.4.1 does not properly verify the TLS certi
- CVE-2020-9760 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in WeeChat before 2.7.1 (0.3.4 to 2.7 are affected)
- CVE-2020-8955 CRITICAL 9.8 UPGRADE MITIGATE irc_mode_channel_update in plugins/irc/irc-mode.c in WeeChat through 2.7 allows remote attackers to cause a de