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.
Conclusion & alert: CVE-2021-40516 is rated Moderate Risk (56.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.98%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.85% | 0.98% | +0.13% |
| 2 | 2025-11-18 | 0.98% | 0.85% | -0.13% |
| 3 | 2025-03-30 | — | 0.98% | — |
Full EPSS history (15 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-40516: 1 source package rows (weechat); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. | https://security.alpinelinux.org/vuln/CVE-2021-40516 |
debian
|
not yet assigned | CVE-2021-40516 not yet assigned priority: Debian including 1 source packages (weechat), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-40516 |
ubuntu
|
medium | CVE-2021-40516 medium priority: Ubuntu including 1 source packages (weechat), 14 status rows across 14 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 8, released 4, DNE 1, ignored 1. | https://ubuntu.com/security/CVE-2021-40516 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| weechat | weechat | >= 0.4.1, < 3.2.1 | cpe:2.3:a:weechat:weechat:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| 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 |
| https://weechat.org/doc/security/ | Patch Vendor Advisory |