Security vulnerabilities in version 4.9.4

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

Overview: 9 vulnerabilities

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-20 7.5
Missing size limit of data queued for sending to clients. Memory Allocation with Excessive Size Value Relay 0.3.9 → 4.10.0 4.10.1
WSA-2026-19 7.5
Missing rejection of invalid websocket frames. Memory Allocation with Excessive Size Value Relay 1.5 → 4.10.0 4.10.1
WSA-2026-18 7.5
Missing size limit for the unterminated Relay text message received from a client. Memory Allocation with Excessive Size Value Relay 0.3.7 → 4.10.0 4.10.1
WSA-2026-17 6.5
Bypass of user authorization for start of DCC file transfer. Incorrect Authorization Xfer 0.1.4 → 4.10.0 4.10.1
WSA-2026-16 6.5
Missing size limit for the unterminated Xfer chat message. Memory Allocation with Excessive Size Value Xfer 0.1.1 → 4.10.0 4.10.1
WSA-2026-15 6.5
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.10.0 4.10.1
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-20: [Relay] Missing size limit of data queued for sending to clients.

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
Memory Allocation with Excessive Size Value (detail)
Scope
Relay
Affected versions
0.3.9 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Description
When queuing data of sending to clients, the Relay plugin builds a partial buffer.
There is no limit for the allocated buffer.
A malicious unauthenticated client sending PING control frames can can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
Unload relay plugin with command: /plugin unload relay and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

WSA-2026-19: [Relay] Missing rejection of invalid websocket frames.

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
Memory Allocation with Excessive Size Value (detail)
Scope
Relay
Affected versions
1.5 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Commits
Description
The relay plugin fails to reject invalid websocket frames.
A malicious client sending invalid websocket frames can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
Unload relay plugin with command: /plugin unload relay and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

WSA-2026-18: [Relay] Missing size limit for the unterminated Relay text message received from a 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
Memory Allocation with Excessive Size Value (detail)
Scope
Relay
Affected versions
0.3.7 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Commits
Description
When receiving a text message from a client, the Relay plugin builds a partial buffer until the end of text is found.
There is no limit for the allocated buffer.
A malicious client sending large amount of data without end of text can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
Unload relay plugin with command: /plugin unload relay and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

WSA-2026-17: [Xfer] Bypass of user authorization for start of DCC file transfer.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (detail)
CVSS score
6.5 / 10
Severity
medium
Vulnerability type
Incorrect Authorization (detail)
Scope
Xfer
Affected versions
0.1.4 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Commits
Description
When resuming a DCC file transfer, a peer can start it without user manual acceptance.
Mitigation
Unload xfer plugin with command: /plugin unload xfer and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

WSA-2026-16: [Xfer] Missing size limit for the unterminated Xfer chat message.

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
Xfer
Affected versions
0.1.1 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Commits
Description
When receiving part of Xfer chat message, the Xfer plugin builds a partial buffer until the end of message is found.
There is no limit for the allocated buffer.
A malicious client sending large amount of data without end of message can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
Unload xfer plugin with command: /plugin unload xfer and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

WSA-2026-15: [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:U/C:N/I:H/A:N (detail)
CVSS score
6.5 / 10
Severity
medium
Vulnerability type
Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal") (detail)
Scope
Xfer
Affected versions
0.0.8 → 4.10.0
Fixed version
4.10.1 () - ChangeLog
Tracker
Commits
Description
When receiving a DCC file, the filename may contain directory separator that is not the platform-native one (for example "/" received on Windows or "\" received on Linux). This separator may be interpreted as a directory separator, so 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
Unload xfer plugin with command: /plugin unload xfer and see: /help weechat.plugin.autoload.
Credit
The issue was discovered by Acts1631.

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).