Security vulnerabilities in version 4.9.2

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

Overview: 6 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-9 7.5
Memory leak in API relay, endpoint "handshake". Missing Release of Memory after Effective Lifetime Relay 4.7.0 → 4.9.2 4.9.3

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-9: [Relay] Memory leak in API relay, endpoint "handshake".

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
Missing Release of Memory after Effective Lifetime (detail)
Scope
Relay
Affected versions
4.7.0 → 4.9.2
Fixed version
4.9.3 () - ChangeLog
Commits
Description
The messages received on "handshake" endpoint, which does not require authentication, are not freed if the content is not a JSON object (for example an array or any other JSON type).
A malicious client can send large arrays and cause memory exhaustion. 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 Sajda Kabir.