Vulnerabilities in pkg:npm/socket.io-parser
PACKAGECVE-2026-69185 is a HIGH (CVSS 7.5) zero-attachment memory exhaustion vulnerability (CWE-20: Improper Input Validation) affecting Socket.io parser libraries in the npm ecosystem. The issue involves zero-attachment memory exhaustion. Remediation is available by upgrading affected packages to version 4.2.7, 3.4.5, 3.3.6.
pkg:npm/socket.io-parser
Vulnerability advisories affecting package pkg:npm/socket.io-parser. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2m8v-j782-fhvr | CVE-2026-69185 | HIGH | Socket.IO: Zero-attachment Memory Exhaustion |
| GHSA-677m-j7p3-52f9 | CVE-2026-33151 | HIGH | socket.io allows an unbounded number of binary attachments |
| GHSA-cqmj-92xf-r6r9 | CVE-2023-32695 | MODERATE | Insufficient validation when decoding a Socket.IO packet |
| GHSA-qm95-pgcg-qqfq | CVE-2022-2421 | CRITICAL | Insufficient validation when decoding a Socket.IO packet |
| GHSA-xfhh-g9f5-x4m4 | CVE-2020-36049 | HIGH | Resource exhaustion in socket.io-parser |
CVE-2026-69185 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-69185
To remediate this vulnerability, upgrade all affected Socket.io parser dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install socket.io-parser@4.2.7
npm install socket.io-parser@3.4.5
npm install socket.io-parser@3.3.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls socket.io-parser
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-69185, inspect your project dependencies using npm:
npm ls socket.io-parser
Analyze the terminal output to locate any version of Socket.io parser in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.7), your application is affected.
Note: The npm ls socket.io-parser command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Socket.io parser, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-69185 Affected Socket.io parser Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
socket.io-parser
|
npm |
≥ 4.0.0
< 4.2.7
|
4.2.7
|
|
socket.io-parser
|
npm |
≥ 3.4.0
< 3.4.5
|
3.4.5
|
|
socket.io-parser
|
npm |
< 3.3.6
|
3.3.6
|
References
Frequently Asked Questions
What is CVE-2026-69185?
Which Socket.io parser versions are affected?
What version fixes CVE-2026-69185?
Is socket.io-parser affected?
What is the CVSS score of CVE-2026-69185?
What CWE is associated with CVE-2026-69185?
How can I check npm dependencies for CVE-2026-69185?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2m8v-j782-fhvr",
"modified" : "2026-08-03T19:09:44Z",
"published" : "2026-08-03T19:09:44Z",
"aliases" : [ "CVE-2026-69185" ],
"summary" : "Socket.IO: Zero-attachment Memory Exhaustion",
"details" : "### Impact\n\nA specially crafted Socket.IO packet can make the server wait for a large number of binary attachments and buffer them, which can be exploited to make the server run out of memory.\n\n### Patches\n\n| Version range | Used by | Fixed version |\n|------------------|--------------------------------------------|---------------|\n| `>=4.0.0 <4.2.7` | `socket.io@4.x` and `socket.io-client@4.x` | `4.2.7` |\n| `>=3.4.0 <3.4.5` | `socket.io@2.x` | `3.4.5` |\n| `<3.3.6` | `socket.io-client@2.x` | `3.3.6` |\n\n### Workarounds\n\nThere is no known workaround except upgrading to a safe version.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open a discussion [here](https://github.com/socketio/socket.io/discussions)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "socket.io-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "socket.io-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "socket.io-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/security/advisories/GHSA-2m8v-j782-fhvr"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/commit/7c6ef571a00656718e9e05e3b948fd1758b2a7b4"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/commit/9c6323e5cde41bd75df3379b5fc9293664a5f240"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/commit/ced94ffa3ac020a8f3c14eb98a3bf34acb14d291"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/socketio/socket.io"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-754" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-03T19:09:44Z",
"nvd_published_at" : null
}
}