CVE-2012-5854: Heap-based buffer overflow in WeeChat 0.3.6 through 0.3.9 allows remote attackers to cause a denial of service
CVE-2012-5854 is a high-severity flaw (CVSS 7.5) affecting weechat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heap-based buffer overflow in WeeChat 0.3.6 through 0.3.9 allows remote attackers to cause a denial of service (crash or hang) and possibly execute arbitrary code via crafted IRC colors that are not properly decoded.
Why this priority
- High severity
- EPSS top 7%: very likely to be exploited
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 5.5% (top 7%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2012-11-19 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · 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-2012-5854?
weechat: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-5854 being exploited?
CVE-2012-5854 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-2012-5854 affect?
CVE-2012-5854 affects weechat. Severity is high (CVSS 7.5). Heap-based buffer overflow in WeeChat 0.3.6 through 0.3.9 allows remote attackers to cause a denial of service (crash or hang) and possibly execute arbitrary code via crafted IRC colors that are not properly decoded.
How urgent is CVE-2012-5854?
Priority 49/100. High severity; EPSS top 7%: very likely to be exploited
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-2021-40516 HIGH 7.5 UPGRADE MITIGATE WeeChat before 3.2.1 allows remote attackers to cause a denial of service (crash) via a crafted WebSocket fram
- 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