Description
WeeChat (Wee Enhanced Environment for Chat) is a free chat client. In versions 4.3.0 through 4.9.0, the WeeChat relay module's WebSocket permessage-deflate decompression function relay_websocket_inflate() has no upper bound on output size. An authenticated relay user can send a small compressed WebSocket frame (~100 bytes) that decompresses to gigabytes, exhausting all server memory and crashing the entire WeeChat process. The api protocol enables permessage-deflate and requires authentication before WebSocket upgrade. Version 4.9.1 patches the issue.
Published: 2026-08-21
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in WeeChat’s relay module, where the WebSocket permessage-deflate decompression routine has no limit on the size of the uncompressed data. An attacker who can authenticate to the relay (the protocol requires authentication before the WebSocket upgrade) can send a tiny compressed frame that expands to gigabytes, exhausting the process’s memory and forcing the WeeChat client to terminate. This results in a denial of service for all users connected to the relay. The weakness is a classic example of uncontrolled resource consumption, classified as CWE-409.

Affected Systems

WeeChat version 4.3.0 through 4.9.0 is affected. The authenticated relay user can trigger the issue by sending a compressed WebSocket frame. Version 4.9.1 contains the fix, and should be used as the remediation baseline.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, but the lack of an EPSS value means the exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, suggesting no known public exploitation. The attack vector is local to any authenticated relay user; an unprivileged user who can gain relay access can trigger the DoS. The risk to an organization is a potential service disruption, especially for systems that rely on the relay for critical chat or command interfaces. The exploit is straightforward to carry out once authentication is achieved, but requires that the attacker can bind to the relay port. Mitigation by upgrading to 4.9.1 or disabling the vulnerable feature lowers the risk to minimal.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WeeChat to version 4.9.1 or later.
  • Configure the relay to disable permessage-deflate compression or limit the maximum decompression size if the configuration allows.
  • Restrict relay access to trusted users or networks and monitor for abnormal memory usage patterns.

Generated by OpenCVE AI on August 21, 2026 at 23:21 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 4.3.0 through 4.9.0, the WeeChat relay module's WebSocket permessage-deflate decompression function relay_websocket_inflate() has no upper bound on output size. An authenticated relay user can send a small compressed WebSocket frame (~100 bytes) that decompresses to gigabytes, exhausting all server memory and crashing the entire WeeChat process. The api protocol enables permessage-deflate and requires authentication before WebSocket upgrade. Version 4.9.1 patches the issue.
Title WeeChat has a Decompression Bomb in Relay WebSocket (DoS)
Weaknesses CWE-409
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T22:18:23.432Z

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

Link: CVE-2026-53524

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-53524

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)