Heap-based buffer overflow in WeeChat - #VU164403

 

Heap-based buffer overflow in WeeChat - #VU164403

Published: November 10, 2026


Vulnerability identifier: #VU164403
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing the client.

The vulnerability exists due to a heap-based buffer overflow in WeeChat IRC plugin's irc_nick_set_prefix when indexing stale nick prefix buffers without bounds checks after automatic reconnect. A remote attacker can operate an IRC server the victim connects to, send pre-registration JOIN and 005 messages containing PREFIX=(), force a disconnect, then send a 353 message with a '+'-prefixed nick after automatic reconnect to trigger out-of-bounds reads and writes and crash the client.


Affected software

WeeChat

Remediation

Install security update from vendor's website.

WeeChat - update to 4.10.2

External References

Related Security Bulletins