Description
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.
Published: 2026-07-17
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the websocket-driver library allows a WebSocket server or client that uses the permessage-deflate extension to accept compressed messages larger than the configured maximum message size. The size check is performed against the compressed frame length, not the decompressed length. This means an attacker can send a small compressed payload that expands to a large size, causing the application to process data beyond its intended resource limits. The flaw is a classic case of Resource Exhaustion (CWE-770) and can degrade availability or lead to memory-based denial of service if the consumption becomes excessive.

Affected Systems

The affected product is the Faye WebSocket Driver Node library, known as websocket-driver-node. Versions older than 0.7.5 are vulnerable; the fix was introduced in 0.7.5. Applications that depend on this library in server or client mode and use permessage-deflate must ensure they are running an updated version.

Risk and Exploitability

CVSS score of 6.3 indicates moderate severity, and the EPSS score of <1% shows a low probability of exploitation at this time. The vulnerability is not yet listed in CISA’s KEV. The likely attack vector involves a malicious client or server injecting compressed WebSocket frames that decompress to a size exceeding the server’s allowed maximum. By exploiting this flaw, an attacker could trigger high memory consumption or other resource exhaustion, potentially resulting in service degradation or denial of service. This can be performed over the network without authentication if the WebSocket endpoint is exposed, making it a realistic threat for publicly reachable services.

Generated by OpenCVE AI on July 30, 2026 at 23:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade websocket-driver-node to version 0.7.5 or newer.
  • After upgrading, be sure the maximum message size configuration is applied after decompression, not just to the compressed frame length.
  • If an immediate upgrade is not possible, disable the permessage-deflate extension for untrusted connections or reject compressed frames that exceed the configured limit.

Generated by OpenCVE AI on July 30, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mp7j-qc5w-4988 websocket-driver: Resource limit bypass via message compression
History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Faye
Faye websocket-driver-node
Vendors & Products Faye
Faye websocket-driver-node

Tue, 21 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Description websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.
Title websocket-driver: Resource limit bypass via message compression
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L'}


Subscriptions

Faye Websocket-driver-node
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-21T02:23:58.273Z

Reserved: 2026-06-15T18:01:15.510Z

Link: CVE-2026-54490

cve-icon Vulnrichment

Updated: 2026-07-21T02:23:53.831Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:30:08Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling