Overview: 1 vulnerability

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-29 5.3
Missing check of the number of hash iterations received from a remote relay. Uncontrolled Resource Consumption Relay 4.3.0 → 4.10.2 4.10.3

WSA-2026-29: [Relay] Missing check of the number of hash iterations received from a remote relay.

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H (detail)
CVSS score
5.3 / 10
Severity
medium
Vulnerability type
Uncontrolled Resource Consumption (detail)
Scope
Relay
Affected versions
4.3.0 → 4.10.2
Fixed version
4.10.3 () - ChangeLog
Tracker
Not available
Commits
Description
When connecting to a remote relay (command /remote), WeeChat sends a handshake request and the remote replies with the password hash algorithm and the number of hash iterations to use for authentication.
The number of iterations is not checked: a malicious remote, or a man-in-the-middle when the connection is not secured with TLS, can send a huge number of iterations (up to about 2 billion), so that WeeChat is blocked for a very long time while computing the password hash with the algorithm pbkdf2+sha256 or pbkdf2+sha512.
With the fix, the number of iterations must be between 1 and 1000000 (the range allowed in option relay.network.password_hash_iterations), otherwise the handshake fails and WeeChat disconnects from the remote.
Mitigation
There are multiple ways to mitigate this issue: