Security vulnerabilities in version 1.1

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

Overview: 26 vulnerabilities

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-30 3.7
Incoming files and chats auto-accepted from a nick on the wrong server. Incorrect Comparison Xfer 0.4.1 → 4.10.2 4.10.3
WSA-2026-28 3.1
Missing checks of the resume position received in DCC RESUME and DCC ACCEPT. Improper Input Validation Xfer 0.3.0 → 4.10.2 4.10.3
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-25 6.4
Evaluation of untrusted strings received from the IRC server or an IRC URL. Improper Neutralization of Special Elements used in an Expression Language Statement IRC 0.4.2 → 4.10.1 4.10.2
WSA-2026-24 7.5
Missing size limit for HTTP headers received from a client. Memory Allocation with Excessive Size Value Relay 0.4.1 → 4.10.1 4.10.2
WSA-2026-23 8.1
Heap buffer overflow in charset conversion. Heap-based Buffer Overflow Core 0.2.3 → 4.10.1 4.10.2
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-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-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-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 7.5
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-6 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.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-2025-3 4.1
Integer overflow in conversion of version to an integer number. Integer Overflow or Wraparound Core 0.3.2 → 4.6.2 4.6.3
WSA-2024-1 3.9
Integer overflow in loops on lists. Integer Overflow or Wraparound Core, Plugins 0.1.6 → 4.4.1 4.4.2
WSA-2021-1 7.5
Crash on malformed websocket frame in relay plugin. Out-of-bounds read Relay 0.4.1 → 3.2 3.2.1
WSA-2020-3 7.5
Buffer overflow on new IRC message 005 with nick prefixes. Out-of-bounds write IRC 0.3.4 → 2.7 2.7.1
WSA-2020-2 7.5
Crash on malformed IRC message 352 (WHO). Out-of-bounds read IRC 0.4.0 → 2.7 2.7.1
WSA-2020-1 7.5
Buffer overflow on malformed IRC message 324 (channel mode). Out-of-bounds write IRC 0.3.8 → 2.7 2.7.1
WSA-2017-2 7.5
Use of invalid pointer in build of log filename. Access of uninitialized pointer Logger 0.3.2 → 1.9 1.9.1
WSA-2017-1 7.5
Buffer overflow when receiving a DCC file. Out-of-bounds write IRC 0.3.3 → 1.7 1.7.1

WSA-2026-30: [Xfer] Incoming files and chats auto-accepted from a nick on the wrong server.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N (detail)
CVSS score
3.7 / 10
Severity
low
Vulnerability type
Incorrect Comparison (detail)
Scope
Xfer
Affected versions
0.4.1 → 4.10.2
Fixed version
4.10.3 () - ChangeLog
Tracker
Not available
Commits
Description
The option xfer.file.auto_accept_nicks is a list of nicks for which incoming files and chats are automatically accepted, with the format server.nick (for a specific server) or nick (for all servers).
For the format server.nick, only the beginning of the server name is compared, so the nick is also auto-accepted on any other server whose name starts with the same chars.
For example with libera.alice, files and chats sent by nick alice are automatically accepted on servers libera, libera2 or libera_test.
On these other servers, any user able to use this nick (which may not be registered there) can send files that are automatically saved in the download directory, or start DCC chats, without confirmation.
Mitigation
There are multiple ways to mitigate this issue:

WSA-2026-28: [Xfer] Missing checks of the resume position received in DCC RESUME and DCC ACCEPT.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N (detail)
CVSS score
3.1 / 10
Severity
low
Vulnerability type
Improper Input Validation (detail)
Scope
Xfer
Affected versions
0.3.0 → 4.10.2
Fixed version
4.10.3 () - ChangeLog
Tracker
Description
When a DCC file transfer is resumed (option xfer.file.auto_resume, enabled by default), WeeChat sends a DCC RESUME message with the size of the partial file already received, and the remote peer replies with a DCC ACCEPT message containing the position to resume from.
The position received in DCC ACCEPT is not checked against the position sent by WeeChat, and it replaces it: The transfer is identified only by its port, so a DCC ACCEPT message sent by another IRC user knowing the port can have the same effect.
In addition, the position received in DCC RESUME and DCC ACCEPT is not parsed strictly: an invalid value is not rejected, and when sending a file, a position greater than or equal to the file size is accepted.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Acts1631.

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.

WSA-2026-25: [IRC] Evaluation of untrusted strings received from the IRC server or an IRC URL.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L (detail)
CVSS score
6.4 / 10
Severity
medium
Vulnerability type
Improper Neutralization of Special Elements used in an Expression Language Statement (detail)
Scope
IRC
Affected versions
0.4.2 → 4.10.1
Fixed version
4.10.2 () - ChangeLog
Tracker
Not available
Description
Some values coming from untrusted sources are evaluated, so a string like ${...} in these values is replaced by the evaluated expression, for example secured data (${sec.data.xxx}), an environment variable (${env:XXX}) or the result of other expressions.
This happens in the following cases: A malicious IRC server, or any user able to forward a channel or to send a private message, could disclose secured data (for example passwords) or environment variables, sent back to the server in a JOIN or another command, or cause high CPU and memory usage with expressions like ${repeat:...}.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Joseph Bisch.

WSA-2026-24: [Relay] Missing size limit for HTTP headers 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.4.1 → 4.10.1
Fixed version
4.10.2 () - ChangeLog
Description
When receiving an HTTP request from a client, the Relay plugin keeps all the header lines received until the end of headers is found.
There is no limit for the allocated buffer, and this happens before the client is authenticated.
A malicious unauthenticated client sending an unlimited number of header lines 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 smaeljaish771.

WSA-2026-23: [Core] Heap buffer overflow in charset conversion.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (detail)
CVSS score
8.1 / 10
Severity
high
Vulnerability type
Heap-based Buffer Overflow (detail)
Scope
Core
Affected versions
0.2.3 → 4.10.1
Fixed version
4.10.2 () - ChangeLog
Commits
Description
The output buffer used for charset conversion was allocated with 4 bytes per input byte, but some charsets like TSCII produce more (up to 12 bytes), and the replacement char "?" for invalid chars was written without checking the remaining size, so the output buffer could overflow.
For example a malicious IRC server, or any user sending a message on a channel, could trigger the overflow when the decode charset is set to TSCII.
Note: the default decode charset iso-8859-1 is not affected.
Mitigation
Do not use charset TSCII for decoding: check option charset.default.decode and the options in section "decode" of charset plugin, see: /help charset.
Credit
The issue was discovered by nexrin.

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.

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-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-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:N/S:U/C:N/I:H/A:N (detail)
CVSS score
7.5 / 10
Severity
high
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-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: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.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-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-2025-3: [Core] Integer overflow in conversion of version to an integer number.

Vulnerability
CVE
Not available
CVSS vector
AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C (detail)
CVSS score
4.1 / 10
Severity
medium
Vulnerability type
Integer Overflow or Wraparound (detail)
Scope
Core
Affected versions
0.3.2 → 4.6.2
Fixed version
4.6.3 () - ChangeLog
Tracker
Not available
Commits
Description
Integer overflow happens in conversion of a version as string to an integer number, if the version is greater than 0x7FFFFFFF (127.255.255.255), so if the version is at least 0x80000000 (128.0.0.0).
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.

WSA-2024-1: [Core, Plugins] Integer overflow in loops on lists.

Vulnerability
CVE
CVE-2024-46613 [ MITRE / NVD ]
CVSS vector
AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C (detail)
CVSS score
3.9 / 10
Severity
medium
Vulnerability type
Integer Overflow or Wraparound (detail)
Scope
Core, Plugins
Affected versions
0.1.6 → 4.4.1
Fixed version
4.4.2 () - ChangeLog
Tracker
Description
An integer overflow can happen when looping over items in a list.
This can only happen in rare conditions on 32 and 64-bit systems, as the list must contain more than 2,147,483,647 elements.
On 16-bit systems, this happens with a list that contains more than 32,767 elements.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by Yiheng Cao.

WSA-2021-1: [Relay] Crash on malformed websocket frame in relay plugin.

Vulnerability
CVE
CVE-2021-40516 [ MITRE / NVD ]
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
Relay
Affected versions
0.4.1 → 3.2
Fixed version
3.2.1 () - ChangeLog
Tracker
Not available
Commits
Description
A crash happens when decoding a malformed websocket frame in relay plugin.
This happens even if a password is set in relay plugin, the malformed websocket frame can be received before the authentication of the client.
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Stuart Nevans Locke.

WSA-2020-3: [IRC] Buffer overflow on new IRC message 005 with nick prefixes.

Vulnerability
CVE
CVE-2020-9760 [ MITRE / NVD ]
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 write (detail)
Scope
IRC
Affected versions
0.3.4 → 2.7
Fixed version
2.7.1 () - ChangeLog
Tracker
Not available
Commits
Description
A buffer overflow happens when a new IRC message 005 is received with longer nick prefixes.
Note: a "normal" IRC server should not send again a message 005 with new nick prefixes, so the problem should be limited to malicious IRC servers.
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by Stuart Nevans Locke.

WSA-2020-2: [IRC] Crash on malformed IRC message 352 (WHO).

Vulnerability
CVE
CVE-2020-9759 [ MITRE / NVD ]
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
IRC
Affected versions
0.4.0 → 2.7
Fixed version
2.7.1 () - ChangeLog
Tracker
Not available
Commits
Description
Crash when receiving a malformed IRC message 352 (WHO).
Mitigation
With WeeChat ≥ 1.1, you can create a trigger:

/trigger add fix_irc_352 modifier "irc_in_352" "${arguments} =~ .* \*$" "/.*//"

With any older version, there is no simple mitigation, you must upgrade WeeChat.
Credit
The issue was discovered by Stuart Nevans Locke.

WSA-2020-1: [IRC] Buffer overflow on malformed IRC message 324 (channel mode).

Vulnerability
CVE
CVE-2020-8955 [ MITRE / NVD ]
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 write (detail)
Scope
IRC
Affected versions
0.3.8 → 2.7
Fixed version
2.7.1 () - ChangeLog
Tracker
Not available
Commits
Description
Buffer overflow when receiving a malformed IRC message 324 (channel mode).
Mitigation
There is no known mitigation.
The upgrade to the latest stable version is highly recommended.
Credit
The issue was discovered by Stuart Nevans Locke.

WSA-2017-2: [Logger] Use of invalid pointer in build of log filename.

Vulnerability
CVE
CVE-2017-14727 [ MITRE / NVD ]
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
Access of uninitialized pointer (detail)
Scope
Logger
Affected versions
0.3.2 → 1.9
Fixed version
1.9.1 () - ChangeLog
Tracker
Not available
Commits
Description
Date/time conversion specifiers are expanded after replacing buffer local variables in name of log files. In some cases, this can lead to an error in function strftime and a crash caused by the use of an uninitialized buffer.
Mitigation
You can unload the logger plugin, thus stopping recording of all buffers: /plugin unload logger.
Credit
The issue was discovered by Joseph Bisch.

WSA-2017-1: [IRC] Buffer overflow when receiving a DCC file.

Vulnerability
CVE
CVE-2017-8073 [ MITRE / NVD ]
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 write (detail)
Scope
IRC
Affected versions
0.3.3 → 1.7
Fixed version
1.7.1 () - ChangeLog
Tracker
Not available
Commits
Description
Buffer overflow when removing quotes in DCC filename.
Mitigation
With WeeChat ≥ 1.1, you can create a trigger:

/trigger add irc_dcc_quotes modifier "irc_in_privmsg" "${arguments} =~ ^[^ ]+ :${\x01}DCC SEND ${\x22} " "/.*//"

With any older version, there is no simple mitigation, you must upgrade WeeChat.
Credit
The issue was discovered by Tobias Stoeckmann.