Skip to main content

permessage-deflate CVE-2026-134813

| EUVDEUVD-2026-132850 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-11-22 VulnCheck GHSA-c3h5-qpxj-968r
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect and negotiate permessage-deflate
  2. Exploit
    Send small highly compressible compressed frame
  3. Execution
    Server fully inflates payload before maxLength check
  4. Impact
    Excessive buffer allocation exhausts memory, process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Exploitation Conditions

The server must have the permessage-deflate compression extension enabled and negotiable for incoming connections (it is used via websocket-driver or faye-websocket); if permessage-deflate is not in the server's extension configuration the vulnerability is not reachable, and the advisory names removing permessage-deflate as a valid mitigation. No authentication, user interaction, or special privileges are required (PR:N/UI:N). The chief limiting factors are that compression must be negotiated and that impact is amplified in memory-constrained environments, where a single small frame can more readily exhaust available memory and crash the process; setting maxLength alone was ineffective pre-patch because it was enforced only after full inflation.

Impact

All severity signals align on a genuine but bounded availability threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes an unauthenticated, network-reachable, low-complexity attack with no user interaction, and impact is confined entirely to availability (VA:H; VC:N/VI:N) - consistent with CWE-409 and the decompression-bomb mechanism described. There is no confidentiality or integrity exposure: this is a pure denial-of-service. No EPSS score and no KEV listing are provided in the input, so there is no evidence of active exploitation; the only exploitation signal is the detailed proof-of-concept in the GHSA advisory. The vendor-assigned priority is 'this_week' rather than act_now/emergency, which matches the picture of a high-severity DoS with a public PoC but no confirmed in-the-wild use. Net: a real patch-soon priority for any Node.js WebSocket server that negotiates permessage-deflate, especially in memory-constrained environments, but not a drop-everything emergency on the signals supplied. One caveat: the input provides no explicit EPSS/KEV fields, so widespread-exploitation likelihood cannot be quantified from the data given.

Exploit ScenarioDerived

An unauthenticated remote client connects to a Node.js WebSocket server that offers the permessage-deflate extension and negotiates it. It then sends a small, highly compressible frame (e.g. one byte repeated millions of times, compressing to ~1/1000 of its size); the server's processIncomingMessage() fully inflates the payload - allocating a buffer up to ~1000x the wire size - before the maxLength limit is checked, exhausting memory and crashing the process. A full working proof-of-concept (vulnerable server plus triggering client) is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Memory exhaustion denial of service in the faye permessage-deflate stack: servers running permessage-deflate before 0.2.0 with websocket-extensions before 0.2.0 and websocket-driver 0.5.0 through 0.7.x inflate an entire incoming WebSocket message before any configured maxLength limit is checked, so a single small, highly compressible frame can force an allocation roughly 1,000 times its wire size and crash the process. The extension must be enabled and successfully negotiated on the server for the flaw to be reachable; if permessage-deflate is not in the server's extension configuration, the code path is never entered. No authentication or user interaction is required (PR:N/UI:N) and the assessed impact is availability-only (A:H), with the practical risk greatest in memory-constrained deployments. A public proof-of-concept reference exists in the upstream GitHub advisory (a server plus client pair demonstrating a 4 MiB inflation from a 4,089-byte frame); it is not verified as working exploit code, and there is no confirmed active exploitation.

RemediationAI

Vendor-released patch: upgrade simultaneously to permessage-deflate >=0.2.0, websocket-extensions >=0.2.0, and websocket-driver >=0.8.0, because the maxLength enforcement only takes effect when all three forward the option (upstream commits 1db8cb6f973d0a7565e0c7530cec53efe9c7e6d3, 11aa734992ecef4c93e11edaeaa935e169c0b974 and 19853657d2a3a6e4f2450bbac3dfefec66a52376, advisory GHSA-67p7-xj24-jfm9). After patching, messages that exceed maxLength are rejected mid-inflate with close code 1009 and the reason 'permessage-deflate: WebSocket frame length too large after decompression'; note that if the application does not set maxLength, the patched extension applies a 64 MB default, so applications accepting larger legitimate frames must set the option explicitly or those frames will be rejected. As an alternative and per the advisory a fully valid mitigation, remove the permessage-deflate extension from the server's extension configuration, which makes the vulnerable code path unreachable at the cost of losing WebSocket compression bandwidth savings; simply lowering maxLength without upgrading is not effective, since pre-patch the limit is applied only after the entire message has been inflated.

Affected VersionsENISA

permessage-deflate 0 <0.2.0
websocket-extensions 0 <0.2.0
websocket-driver 0.5.0 <0.8.0

Affected Packages

euvd permessage_deflate fix: 0.2.0
euvd websocket_driver fix: 0.8.0
euvd websocket_extensions fix: 0.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic decompression bomb (CWE-409) in the Node.js RFC 7692 permessage-deflate implementation. permessage-deflate plugs into websocket-extensions, which is consumed by websocket-driver and faye-websocket; when a client negotiates the compression extension, the session's processIncomingMessage() feeds the compressed frame into a zlib inflate stream and only after full inflation is the message handed back, at which point websocket-driver checks maxLength. Because the maxLength option was never forwarded through websocket-extensions into the extension session, an attacker can send a frame of repeated identical bytes that compresses to roughly 1/1,000 of its expanded size and have the server allocate the expanded buffer first. The upstream fix threads an options object (carrying maxLength) through the Extensions constructor into createClientSession/createServerSession, so the extension can abort once zlib output exceeds the limit (default 64 MB when no maxLength is configured) and close with code 1009 and the message 'WebSocket frame length too large after decompression'. All three packages must be upgraded together for the limit to actually reach the inflate loop.

Know when Websocket Extensions gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated remote client over the network with no interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only memory exhaustion (A:H, C:N/I:N) with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-409 (Improper Handling of Highly Compressed Data / data amplification), a decompression bomb.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-134813 is a high-severity memory exhaustion denial-of-service vulnerability affecting servers using the faye permessage-deflate WebSocket compression stack. A single small malicious frame can force excessive memory allocation and crash the server process, disrupting availability for all users of that service. Leadership should care because internet-facing or memory-constrained Real-time services could be taken down without authentication, and while a patch exists, unpatched instances remain exposed to publicly referenced exploit code.

Business Impact: High
Compensating Controls

Apply vendor patch; interim mitigation: disable permessage-deflate extension in server configuration until patched.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
High
websocket-driver/permessage-deflate are widely-used Node.js WebSocket dependencies, common transitive packages
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy