# CVE-2026-134813: Faye websocket-driver 0.5.0 before 0.8.0 Decompression Bomb via permessage-deflate

Source: https://aplosec.si/cve/CVE-2026-134813/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134813

High 8.7 · Reported · Fixed in 0.8.0 · CWE-409 · npm

# Faye websocket-driver 0.5.0 before 0.8.0 Decompression Bomb via permessage-deflate

CVE-2026-134813 · published 2026-11-22

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

## Summary

CVE-2026-134813 affects websocket-driver (npm) >= 0.5.0, < 0.8.0: Decompression Bomb via permessage-deflate (CWE-409). Fixed in 0.8.0. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Faye websocket-driver 0.5.0 before 0.8.0, permessage-deflate before 0.2.0, and websocket-extensions before 0.2.0 contain a decompression bomb vulnerability because messages are fully inflated before maxLength is enforced. Unauthenticated remote clients negotiating permessage-deflate can send highly compressible messages, forcing processIncomingMessage() to allocate excessive memory and crash the server process.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade websocket-driver to 0.8.0 or later. Releases in the affected range (>= 0.5.0, < 0.8.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-22 CVE published

## References

- [Referencehttps://github.com/faye/permessage-deflate-node/security/advisories/GHSA-67p7-xj24-jfm9](https://github.com/faye/permessage-deflate-node/security/advisories/GHSA-67p7-xj24-jfm9)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/faye-websocket-driver-0.5.0-before-0.8.0-decompression-bomb-via-permessage-deflate](https://www.vulncheck.com/advisories/faye-websocket-driver-0.5.0-before-0.8.0-decompression-bomb-via-permessage-deflate)

- [Fix commithttps://github.com/faye/permessage-deflate-node/commit/1db8cb6f973d0a7565e0c7530cec53efe9c7e6d3](https://github.com/faye/permessage-deflate-node/commit/1db8cb6f973d0a7565e0c7530cec53efe9c7e6d3)

- [Fix commithttps://github.com/faye/websocket-extensions-node/commit/11aa734992ecef4c93e11edaeaa935e169c0b974](https://github.com/faye/websocket-extensions-node/commit/11aa734992ecef4c93e11edaeaa935e169c0b974)

- [Fix commithttps://github.com/faye/websocket-driver-node/commit/19853657d2a3a6e4f2450bbac3dfefec66a52376](https://github.com/faye/websocket-driver-node/commit/19853657d2a3a6e4f2450bbac3dfefec66a52376)

- [Vulnerable codehttps://github.com/faye/permessage-deflate-node/blob/0.1.7/lib/session.js#L23-L68](https://github.com/faye/permessage-deflate-node/blob/0.1.7/lib/session.js#L23-L68)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134813](https://www.cve.org/CVERecord?id=CVE-2026-134813)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134813](https://nvd.nist.gov/vuln/detail/CVE-2026-134813)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134813)

**Package:** websocket-driver

**Ecosystem:** npm

**Affected:** >= 0.5.0, < 0.8.0

**Fixed:** 0.8.0

**Weakness:** CWE-409

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
