Description
WeeChat (Wee Enhanced Environment for Chat) is a free chat client. In versions 0.3.1 through 4.9.0, the WeeChat relay authentication uses non-constant-time string comparison functions (weechat_strcasecmp and strcmp) to verify password hashes and plaintext passwords. An attacker can exploit timing differences to extract the server-computed hash character by character, then authenticate using the correct hash without knowing the password. Version 4.9.1 fixes the issue.
Published: 2026-08-21
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WeeChat’s relay authentication compares password hashes using non‑constant‑time string functions. An attacker who can observe the timing of these comparisons can perform a timing side‑channel attack, determining the server‑computed hash one character at a time. Once the full hash is recovered, the attacker can authenticate to the relay with that hash even without knowing the original password, effectively bypassing authentication controls. This vulnerability allows unauthorized access to chat sessions and any resources protected by the relay.

Affected Systems

The affected product is WeeChat versions 0.3.1 through 4.9.0. The maintainers released version 4.9.1 with a fix. All earlier releases in this range are vulnerable. The vendor is the authors of WeeChat.

Risk and Exploitability

The vulnerability carries a CVSS base score of 7.4, indicating high risk. The EPSS score is not available, but the lack of a KEV listing suggests no large‑scale exploitation detected yet. Nevertheless, because the attack requires only network communication with the relay, a remote attacker can launch the timing attack from a network that can reach the relay service. Once the hash is extracted, authentication bypass is trivial. The vulnerability is self‑contained, does not require local privilege or multiple steps, making exploitation straightforward for an adversary who can observe timing.

Generated by OpenCVE AI on August 21, 2026 at 23:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WeeChat to version 4.9.1 or later.
  • Restrict external access to the relay service to trusted networks.
  • Disable relay authentication if it is not required for your deployment.

Generated by OpenCVE AI on August 21, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Weechat
Weechat weechat
Vendors & Products Weechat
Weechat weechat

Fri, 21 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Description WeeChat (Wee Enhanced Environment for Chat) is a free chat client. In versions 0.3.1 through 4.9.0, the WeeChat relay authentication uses non-constant-time string comparison functions (weechat_strcasecmp and strcmp) to verify password hashes and plaintext passwords. An attacker can exploit timing differences to extract the server-computed hash character by character, then authenticate using the correct hash without knowing the password. Version 4.9.1 fixes the issue.
Title WeeChat has Non-Constant-Time Password Hash Comparison in Relay Authentication
Weaknesses CWE-208
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T22:19:21.278Z

Reserved: 2026-06-09T17:30:33.456Z

Link: CVE-2026-53525

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T23:16:26.363

Modified: 2026-08-21T23:16:26.363

Link: CVE-2026-53525

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:30:17Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy