Search
Find a vulnerability
Search criteria
2 vulnerabilities found for permessage_deflate by faye
CVE-2026-140011 (GCVE-0-2026-140011)
Vulnerability from nvd – Published: 2026-11-30 21:49 – Updated: 2026-11-30 21:49
VLAI
EPSS
VEX
Title
permessage-deflate-ruby: Memory exhaustion triggered by message decompression
Summary
permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver's :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0.
Severity
7.5 (High)
CWE
- CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/faye/permessage-deflate-ruby/s… | x_refsource_CONFIRM |
| https://github.com/faye/permessage-deflate-ruby/c… | x_refsource_MISC |
| https://github.com/faye/websocket-driver-ruby/com… | x_refsource_MISC |
| https://github.com/faye/websocket-extensions-ruby… | x_refsource_MISC |
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| faye | permessage-deflate-ruby |
Affected:
< 0.2.0
|
|
| faye | permessage_deflate |
Affected:
< 0.2.0
|
|
| faye | websocket-driver |
Affected:
>= 0.5.0, < 0.9.0
|
|
| faye | websocket-extensions |
Affected:
< 0.2.0
|
{
"containers": {
"cna": {
"affected": [
{
"product": "permessage-deflate-ruby",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
},
{
"product": "permessage_deflate",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
},
{
"product": "websocket-driver",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003e= 0.5.0, \u003c 0.9.0"
}
]
},
{
"product": "websocket-extensions",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver\u0027s :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-409",
"description": "CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-30T21:49:47.573Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff"
},
{
"name": "https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13"
},
{
"name": "https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070"
},
{
"name": "https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82"
}
],
"source": {
"advisory": "GHSA-5qm2-87xf-x3ff",
"discovery": "UNKNOWN"
},
"title": "permessage-deflate-ruby: Memory exhaustion triggered by message decompression"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-140011",
"datePublished": "2026-11-30T21:49:47.573Z",
"dateReserved": "2026-11-30T17:42:59.710Z",
"dateUpdated": "2026-11-30T21:49:47.573Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-140011 (GCVE-0-2026-140011)
Vulnerability from cvelistv5 – Published: 2026-11-30 21:49 – Updated: 2026-11-30 21:49
VLAI
EPSS
VEX
Title
permessage-deflate-ruby: Memory exhaustion triggered by message decompression
Summary
permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver's :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0.
Severity
7.5 (High)
CWE
- CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/faye/permessage-deflate-ruby/s… | x_refsource_CONFIRM |
| https://github.com/faye/permessage-deflate-ruby/c… | x_refsource_MISC |
| https://github.com/faye/websocket-driver-ruby/com… | x_refsource_MISC |
| https://github.com/faye/websocket-extensions-ruby… | x_refsource_MISC |
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| faye | permessage-deflate-ruby |
Affected:
< 0.2.0
|
|
| faye | permessage_deflate |
Affected:
< 0.2.0
|
|
| faye | websocket-driver |
Affected:
>= 0.5.0, < 0.9.0
|
|
| faye | websocket-extensions |
Affected:
< 0.2.0
|
{
"containers": {
"cna": {
"affected": [
{
"product": "permessage-deflate-ruby",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
},
{
"product": "permessage_deflate",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
},
{
"product": "websocket-driver",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003e= 0.5.0, \u003c 0.9.0"
}
]
},
{
"product": "websocket-extensions",
"vendor": "faye",
"versions": [
{
"status": "affected",
"version": "\u003c 0.2.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver\u0027s :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-409",
"description": "CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-30T21:49:47.573Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff"
},
{
"name": "https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13"
},
{
"name": "https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070"
},
{
"name": "https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82"
}
],
"source": {
"advisory": "GHSA-5qm2-87xf-x3ff",
"discovery": "UNKNOWN"
},
"title": "permessage-deflate-ruby: Memory exhaustion triggered by message decompression"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-140011",
"datePublished": "2026-11-30T21:49:47.573Z",
"dateReserved": "2026-11-30T17:42:59.710Z",
"dateUpdated": "2026-11-30T21:49:47.573Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}