Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Faye WebSocket Decompression Memory Exhaustion (CVE-2026-134813)

CVE-2026-134813 is a decompression-related memory exhaustion flaw in Faye's WebSocket packages.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-134813
Vendor
Faye
Affected Product
websocket-driver, websocket-extensions and permessage-deflate
Exploitation
Not confirmed
Published
2026-11-22

An unauthenticated client can make a server allocate far more memory than the compressed message occupied on the network.Faye says the resulting allocation may exhaust memory and crash a server. The affected path requires the permessage-deflate extension to be active in a server-side WebSocket stack.

What it allows

How Does CVE-2026-134813 Exhaust Server Memory?

Faye explains that the message-size setting, maxLength, was not forwarded to permessage-deflate. The extension could fully expand an incoming compressed message before websocket-driver checked its size. A server could therefore reject an oversized message after already allocating memory for its expanded contents.

The advisory describes a potential allocation roughly 1,000 times the received frame size. This is a possible amplification in its example, not a measured impact for every deployment. Faye published a demonstration of the premature allocation, but that demonstration does not establish exploitation in the wild.

Because the client need not authenticate, operators should prioritize internet-facing servers that negotiate compression. Use a Vulnerability Intelligence workflow to record package versions, configuration and remediation ownership. This prioritization is our defensive reading of Faye's stated conditions.

What Can Defenders Verify Without Reproducing the Attack?

Check whether the running service accepts the permessage-deflate extension and whether its process shows unusual memory growth around WebSocket traffic. Review restarts or out-of-memory events alongside application logs. These are investigation suggestions based on the described mechanism, not vendor detection signatures.

A size-limit rejection alone is insufficient evidence that the vulnerable version avoided a large allocation. Faye's demonstration shows the old stack rejected a message only after expansion. Its fixed extension stops consuming decompressed output once maxLength is reached.

Who is affected

Version Check

websocket-driver
Release LineAffected RangeFixed In
0.x0.5.0 to before 0.8.00.8.0
Release ranges source
websocket-extensions
Release LineAffected RangeFixed In
0.x0.0.0 to before 0.2.00.2.0
Release ranges source
permessage-deflate
Release LineAffected RangeFixed In
0.x0.0.0 to before 0.2.00.2.0
Release ranges source

For distribution packages and custom builds, check the supplier’s advisory.

The advisory gives no lower bound for websocket-extensions and permessage-deflate; 0.0.0 represents the inclusive semantic-version floor. Exposure also requires the extension in a server stack. Confirm all three effective package versions and configuration.

Which Packages and Settings Are Affected by CVE-2026-134813?

Faye lists websocket-driver 0.5.0 through versions before 0.8.0, websocket-extensions before 0.2.0, and permessage-deflate before 0.2.0. The server must use the compression extension for this attack path. Applications based on faye-websocket or these packages may also use that extension, so inspect the installed dependency tree and actual server configuration.

The fix needs all three packages at their patched thresholds: websocket-driver 0.8.0, websocket-extensions 0.2.0 and permessage-deflate 0.2.0 or later. Updating only the decompression package does not ensure maxLength reaches it through the older driver and extension layers. Faye also offers removal of permessage-deflate from the server configuration as an alternative mitigation.

Before maintenance, record the effective versions resolved by each deployed application, including transitive dependencies. After deployment, confirm the running build uses all three fixed releases and verify whether compression remains enabled. The patch management guide provides a broader inventory and verification framework.

Keep this issue separate from CVE-2026-116600 in Apache Tomcat's WebSocket integration. Both can affect availability, but their products and root causes differ. This profile applies to the Faye package stack named in its advisory.

Timeline

  1. 2026-11-17

    Faye published GHSA-67p7-xj24-jfm9 with the affected packages, fixed versions and a demonstration.

  2. 2026-11-22

    NVD published the CVE-2026-134813 record with the CWE-409 classification and CVSS 3.1 and 4.0 scores.

What to do

  1. Find affected server deployments

    Inventory applications that run websocket-driver, websocket-extensions or permessage-deflate. Record resolved package versions and whether each server enables permessage-deflate for remote clients.

  2. Prioritize exposed services

    Prioritize reachable servers with compression enabled, especially memory-constrained deployments. Review memory growth, restarts and out-of-memory events as an investigation step, not a definitive exploit indicator.

  3. Upgrade the full package chain

    Move websocket-driver to 0.8.0 or later, websocket-extensions to 0.2.0 or later, and permessage-deflate to 0.2.0 or later. If an upgrade cannot be completed, remove permessage-deflate from the server configuration as Faye advises.

  4. Verify the running release

    After deployment, inspect the installed dependency tree in the running application and confirm all three patched thresholds. Also verify the effective server configuration and monitor memory and restarts during normal traffic.

What Brandefense can do

Frequently Asked Questions

Does CVE-2026-134813 require authentication?

No. Faye says an unauthenticated remote client can trigger the memory exhaustion path when the server uses the compression extension.

Is a WebSocket message-size limit enough?

Not on the affected package chain. Faye says the old extension fully decompressed the message before websocket-driver enforced maxLength.

Which versions fix the Faye WebSocket decompression issue?

Faye lists websocket-driver 0.8.0, websocket-extensions 0.2.0 and permessage-deflate 0.2.0 as the patched thresholds. Verify all three in the deployed application.

Can compression be disabled as a mitigation?

Yes. Faye says removing permessage-deflate from the server configuration mitigates the issue when the three-package upgrade cannot be applied.

Sources

  1. Memory exhaustion triggered by message decompressionFaye
  2. CVE-2026-134813 RecordNVD
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →