7.4high
WeeChat has Non-Constant-Time Password Hash Comparison in Relay Authentication
- Severity
- 7.4high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| weechat weechat | >= 0.3.4, < 4.9.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
WeeChat (Wee Enhanced Environment for Chat) es un cliente de chat gratuito. En las versiones 0.3.1 a 4.9.0, la autenticación de retransmisión de WeeChat utiliza funciones de comparación de cadenas de tiempo no constante (weechat_strcasecmp y strcmp) para verificar los hashes de contraseña y las contraseñas en texto plano. Un atacante puede explotar las diferencias de tiempo para extraer el hash calculado por el servidor carácter por carácter, y luego autenticarse usando el hash correcto sin conocer la contraseña. La versión 4.9.1 corrige el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53525 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-53525 changed 2026-10-14 | Public domain |