Heap-based buffer overflow in WeeChat - #VU164402

 

Heap-based buffer overflow in WeeChat - #VU164402

Published: November 10, 2026


Vulnerability identifier: #VU164402
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:H/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 privileged user to corrupt heap memory and cause a denial of service in WeeChat's parent process.

The vulnerability exists due to a heap-based buffer overflow in relay_weechat_msg_add_hdata when expanding hdata paths without checking accumulated output against the allocated buffer size. A remote privileged user can authenticate to an enabled relay port and send an hdata path starting with irc_channel_speaking:0x1 followed by repeated /next_nick segments to overwrite adjacent heap chunks and crash the process, bypassing relay.network.commands restrictions.


Affected software

WeeChat

Remediation

Install security update from vendor's website.

WeeChat - update to 4.10.2

External References

Related Security Bulletins