Security vulnerabilities in version 4.6.3

This page lists all known and fixed security vulnerabilities in version 4.6.3 (back to the list of all versions).

Overview: 13 vulnerabilities

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-14 8.6
Use-after-free and double free when a remote relay sends an event with an array as body. Use After Free Relay 4.3.0 → 4.9.4 4.9.5
WSA-2026-13 8.6
Use-after-free in the irc plugin when a batched message disconnects the server. Use After Free IRC 4.0.0 → 4.9.4 4.9.5
WSA-2026-12 6.6
Stack buffer overflow when building a JOIN command with channel keys. Stack-based Buffer Overflow IRC 0.3.6 → 4.9.4 4.9.5
WSA-2026-11 9.3
Write of logger file outside of configured path. Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") Logger 0.3.0 → 4.9.3 4.9.4
WSA-2026-10 10.0
Authentication bypass in Relay plugin, protocols "api" and "weechat". Authentication Bypass Using an Alternate Path or Channel Relay 4.3.0 → 4.9.3 4.9.4
WSA-2026-8 5.5
Buffer overflow in dump of Relay data. Out-of-bounds read Relay 4.3.0 → 4.9.1 4.9.2
WSA-2026-7 7.5
Buffer overflow when receiving a line in a Xfer chat (DCC chat) buffer. Out-of-bounds read Xfer 1.3 → 4.9.1 4.9.2
WSA-2026-6 9.3
Write of DCC file received outside of configured download path. Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") Xfer 0.0.8 → 4.9.1 4.9.2
WSA-2026-5 6.2
Buffer overflow when receiving a DCC file. Out-of-bounds read IRC 4.1.0 → 4.9.1 4.9.2
WSA-2026-4 6.5
Missing size limit for the received websocket frame, HTTP message and HTTP body. Memory Allocation with Excessive Size Value Relay 0.3.7 → 4.9.1 4.9.2
WSA-2026-3 6.5
Missing size limit for the unterminated IRC message or isupport value (message 005). Memory Allocation with Excessive Size Value IRC 0.3.3 → 4.9.1 4.9.2
WSA-2026-2 7.4
Non-constant time password/hash comparison. Observable Timing Discrepancy API, Relay 0.3.4 → 4.9.0 4.9.1
WSA-2026-1 6.5
Missing size limit for the decompressed websocket frame in relay plugin, protocol "api". Improper Handling of Highly Compressed Data (Data Amplification) Relay 4.3.0 → 4.9.0 4.9.1

WSA-2026-14: [Relay] Use-after-free and double free when a remote relay sends an event with an array as body.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H (detail)
CVSS score
8.6 / 10
Severity
high
Vulnerability type
Use After Free (detail)
Scope
Relay
Affected versions
4.3.0 → 4.9.4
Fixed version
4.9.5 () - ChangeLog
Commits
Description
A malicious (or compromised) relay remote can send a "buffer_closed" event with an array, causing a use-after-free (read and write) followed by a double free, in the relay plugin.
Note: if the remote is a trusted WeeChat, the problem does not happen, as WeeChat itself never sends an array in the "buffer_closed" event.
Mitigation
Always connect to a trusted WeeChat remote.
Credit
The issue was discovered by Mohammed Arib (arib06).

WSA-2026-13: [IRC] Use-after-free in the irc plugin when a batched message disconnects the server.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H (detail)
CVSS score
8.6 / 10
Severity
high
Vulnerability type
Use After Free (detail)
Scope
IRC
Affected versions
4.0.0 → 4.9.4
Fixed version
4.9.5 () - ChangeLog
Commits
Description
When a batch message is received and one of the messages causes a disconnection from the server, the remaining messages are reading data that is already freed.
Mitigation
Disable batch capability: /set irc.server_default.capabilities "*,!batch".
Credit
The issue was discovered by Mohammed Arib (arib06).

WSA-2026-12: [IRC] Stack buffer overflow when building a JOIN command with channel keys.

Vulnerability
CVE
Not available
CVSS vector
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H (detail)
CVSS score
6.6 / 10
Severity
medium
Vulnerability type
Stack-based Buffer Overflow (detail)
Scope
IRC
Affected versions
0.3.6 → 4.9.4
Fixed version
4.9.5 () - ChangeLog
Commits
Description
A stack buffer overflow happens when building a JOIN command with a lot of channel and keys.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by Mohammed Arib (arib06).

WSA-2026-11: [Logger] Write of logger file outside of configured path.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H (detail)
CVSS score
9.3 / 10
Severity
critical
Vulnerability type
Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") (detail)
Scope
Logger
Affected versions
0.3.0 → 4.9.3
Fixed version
4.9.4 () - ChangeLog
Tracker
Commits
Description
When writing a log file, a specific char used internally as separator may be used to forge a new path that can be outside the path configured by the option logger.file.path.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by Mohammed Arib (arib06).

WSA-2026-10: [Relay] Authentication bypass in Relay plugin, protocols "api" and "weechat".

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (detail)
CVSS score
10.0 / 10
Severity
critical
Vulnerability type
Authentication Bypass Using an Alternate Path or Channel (detail)
Scope
Relay
Affected versions
4.3.0 → 4.9.3
Fixed version
4.9.4 () - ChangeLog
Commits
Description
A malicious client could authenticate on the relay, with protocol "api" or "weechat", without giving the password configured in WeeChat.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Mohammed Arib (arib06).

WSA-2026-8: [Relay] Buffer overflow in dump of Relay data.

Vulnerability
CVE
Not available
CVSS vector
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (detail)
CVSS score
5.5 / 10
Severity
medium
Vulnerability type
Out-of-bounds read (detail)
Scope
Relay
Affected versions
4.3.0 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Commits
Description
When dumping Relay data with /debug dump or /debug dump relay, any HTTP request with path_items defined causes an out-of-bounds read.
Mitigation
Do not use command /debug dump.
Credit
The issue was discovered by aizu-m.

WSA-2026-7: [Xfer] Buffer overflow when receiving a line in a Xfer chat (DCC chat) buffer.

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
Out-of-bounds read (detail)
Scope
Xfer
Affected versions
1.3 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Commits
Description
An empty line received in Xfer chat (DCC chat) causes a read before the beginning of a buffer.
This can lead to a crash of WeeChat.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by aizu-m.

WSA-2026-6: [Xfer] Write of DCC file received outside of configured download path.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H (detail)
CVSS score
9.3 / 10
Severity
critical
Vulnerability type
Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") (detail)
Scope
Xfer
Affected versions
0.0.8 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Commits
Description
When receiving a DCC file, the filename built contains the remote nick (the option xfer.file.use_nick_in_filename is on by default).
If the nick contains special characters, the file could be written outside of the configured download path.
Xfer never overwrites existing files, so if a file exists with the same name, a suffix like ".1" is appended to the filename.
Mitigation
Turn off option to include nick in filename: /set xfer.file.use_nick_in_filename off.
Credit
The issue was discovered by aizu-m.

WSA-2026-5: [IRC] Buffer overflow when receiving a DCC file.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:X/RL:O/RC:C (detail)
CVSS score
6.2 / 10
Severity
medium
Vulnerability type
Out-of-bounds read (detail)
Scope
IRC
Affected versions
4.1.0 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Commits
Description
Buffer overflow when removing quotes in DCC filename.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by aizu-m.

WSA-2026-4: [Relay] Missing size limit for the received websocket frame, HTTP message and HTTP body.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (detail)
CVSS score
6.5 / 10
Severity
medium
Vulnerability type
Memory Allocation with Excessive Size Value (detail)
Scope
Relay
Affected versions
0.3.7 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Not available
Description
When receiving part of websocket frame, HTTP message or HTTP body, the Relay plugin builds a partial buffer until the end of data is found.
There is no limit for the allocated buffer.
A malicious client sending large amount of data without end of websocket frame or HTTP message/body can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
There are multiple ways to mitigate this issue:

WSA-2026-3: [IRC] Missing size limit for the unterminated IRC message or isupport value (message 005).

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (detail)
CVSS score
6.5 / 10
Severity
medium
Vulnerability type
Memory Allocation with Excessive Size Value (detail)
Scope
IRC
Affected versions
0.3.3 → 4.9.1
Fixed version
4.9.2 () - ChangeLog
Tracker
Not available
Description
When receiving data on the socket, the IRC plugin builds a partial message until "\r\n" is found.
There is no limit for the allocated message.
A malicious server sending large amount of data without end of message ("\r\n") can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.

WSA-2026-2: [API, Relay] Non-constant time password/hash comparison.

Vulnerability
CVE
CVE-2026-53525 [ MITRE / NVD ]
CVSS vector
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H (detail)
CVSS score
7.4 / 10
Severity
high
Vulnerability type
Observable Timing Discrepancy (detail)
Scope
API, Relay
Affected versions
0.3.4 → 4.9.0
Fixed version
4.9.1 () - ChangeLog
Description
WeeChat uses non-constant time password/hash comparison in the Relay plugin and in TOTP validation.
This could allow an attacker to guess a password, a hash or a TOTP and bypass relay authentication.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Tristan Madani (TristanInSec).

WSA-2026-1: [Relay] Missing size limit for the decompressed websocket frame in relay plugin, protocol "api".

Vulnerability
CVE
CVE-2026-53524 [ MITRE / NVD ]
CVSS vector
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (detail)
CVSS score
6.5 / 10
Severity
medium
Vulnerability type
Improper Handling of Highly Compressed Data (Data Amplification) (detail)
Scope
Relay
Affected versions
4.3.0 → 4.9.0
Fixed version
4.9.1 () - ChangeLog
Commits
Description
When decompressing a websocket frame received from a Relay client with "api" protocol and permessage-deflate enabled, WeeChat allocates memory without upper limit.
In case of highly compressed frame, this can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Tristan Madani (TristanInSec).