Overview: 1 vulnerability

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-22 5.5
Heap buffer overflow in path of hdata sent to clients with "weechat" protocol. Heap-based Buffer Overflow Relay 0.3.7 → 4.10.1 4.10.2

WSA-2026-22: [Relay] Heap buffer overflow in path of hdata sent to clients with "weechat" protocol.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H (detail)
CVSS score
5.5 / 10
Severity
medium
Vulnerability type
Heap-based Buffer Overflow (detail)
Scope
Relay
Affected versions
0.3.7 → 4.10.1
Fixed version
4.10.2 () - ChangeLog
Commits
Description
The path of hdata returned to the client with the "weechat" protocol is built in a buffer allocated with twice the length of the path received, but a variable name can be replaced by a hdata name more than twice longer (for example "next_nick" replaced by "irc_channel_speaking"), so that an authenticated client can write out of bounds with a path containing many such variables.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by smaeljaish771.