Overview: 1 vulnerability

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-27 7.5
Denial of service with huge IRC messages received from a relay client. Allocation of Resources Without Limits or Throttling Relay 0.4.1 → 4.10.2 4.10.3

WSA-2026-27: [Relay] Denial of service with huge IRC messages received from a relay client.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (detail)
CVSS score
7.5 / 10
Severity
high
Vulnerability type
Allocation of Resources Without Limits or Throttling (detail)
Scope
Relay
Affected versions
0.4.1 → 4.10.2
Fixed version
4.10.3 () - ChangeLog
Tracker
Description
The relay plugin does not limit the length of IRC messages received from a client connected with the irc protocol: each message is fully parsed, including all its parameters, before the client is authenticated.
A message of a few megabytes with millions of parameters blocks WeeChat for a long time while it is parsed, and the memory used during parsing is much greater than the size of the message (hundreds of megabytes).
Any remote user able to connect to the relay port, without knowing the relay password, can freeze WeeChat and cause high CPU and memory usage, by sending such messages repeatedly.
With the fix, IRC messages longer than 4096 bytes are ignored and WeeChat replies with numeric 417 (ERR_INPUTTOOLONG), like IRC servers do.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Acts1631.