Uncaught Exception in engine.io
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the `engine.io` package starting from version `4.0.0`, including those who uses depending packages like `socket.io`. Versions prior to `4.0.0` are not impacted. A fix has been released for each major branch, namely `4.1.2` for the `4.x.x` branch, `5.2.1` for the `5.x.x` branch, and `6.1.1` for the `6.x.x` branch. There is no known workaround except upgrading to a safe version.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-21676
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:14 UTC · Revision 1
Source evidence
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the `engine.io` package starting from version `4.0.0`, including those who uses depending packages like `socket.io`. Versions prior to `4.0.0` are not impacted. A fix has been released for each major branch, namely `4.1.2` for the `4.x.x` branch, `5.2.1` for the `5.x.x` branch, and `6.1.1` for the `6.x.x` branch. There is no known workaround except upgrading to a safe version.
osv:CVE-2022-21676
Complete source record
{
"id": "cdd66a83341ba030b58928c9d9e90cfcca165457ed3b7fc34dec5ff3f5eed276",
"url": "https://osv.dev/vulnerability/CVE-2022-21676",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Uncaught Exception in engine.io",
"summary": "Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the `engine.io` package starting from version `4.0.0`, including those who uses depending packages like `socket.io`. Versions prior to `4.0.0` are not impacted. A fix has been released for each major branch, namely `4.1.2` for the `4.x.x` branch, `5.2.1` for the `5.x.x` branch, and `6.1.1` for the `6.x.x` branch. There is no known workaround except upgrading to a safe version.",
"evidence": "osv:CVE-2022-21676",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-21676",
"aliases": [
"CVE-2022-21676",
"GHSA-273r-mgr4-v34f"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/socketio/engine.io",
"type": "GIT",
"events": [
{
"introduced": "70b1c36be112671b690736de1a24753e8ec5ba22"
},
{
"fixed": "c6315af44826b87f6802574f1ef79dfa63777fab"
},
{
"introduced": "887ba06536a1fe0cd34e8b36cd31235e4f90b31d"
},
{
"fixed": "d36199cfe03caac96f5e84326561e9ccd460df1e"
},
{
"introduced": "fe5d97fc3d7a26d34bce786a97962fae3d7ce17f"
},
{
"fixed": "f3b761dc560e6cd045ef42939dc28d7138f245e9"
},
{
"fixed": "66f889fc1d966bf5bfa0de1939069153643874ab"
},
{
"fixed": "a70800d7e96da32f6e6622804ef659ebc58659db"
},
{
"fixed": "c0e194d44933bd83bf9a4b126fca68ba7bf5098c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.2.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "66f889fc1d966bf5bfa0de1939069153643874ab"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a70800d7e96da32f6e6622804ef659ebc58659db"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c0e194d44933bd83bf9a4b126fca68ba7bf5098c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c6315af44826b87f6802574f1ef79dfa63777fab"
}
],
"source": "REFERENCES_TAG",
"original_tag": "4.1.2"
},
{
"range": [
{
"fixed": "d36199cfe03caac96f5e84326561e9ccd460df1e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "5.2.1"
},
{
"range": [
{
"fixed": "f3b761dc560e6cd045ef42939dc28d7138f245e9"
}
],
"source": "REFERENCES_TAG",
"original_tag": "6.1.1"
}
]
}
},
{
"repo": "https://github.com/socketio/socket.io",
"type": "GIT",
"events": [
{
"introduced": "5eaeffc8e2244b73dd13fd2562c9684ad289997b"
},
{
"fixed": "1633150b2bcdebd3c39dc37f7329e84e9951a15e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.2.0",
"4.1.1",
"6.1.0",
"6.0.0",
"5.1.1",
"5.1.0",
"5.0.0",
"4.1.0",
"4.0.6",
"4.0.5",
"4.0.4",
"4.0.3",
"4.0.2",
"4.0.1",
"4.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21676.json"
}
}
],
"modified": "2026-10-28T02:30:30.600749814Z",
"provider": "osv",
"references": [
"https://github.com/socketio/engine.io/releases/tag/4.1.2",
"https://github.com/socketio/engine.io/releases/tag/5.2.1",
"https://github.com/socketio/engine.io/releases/tag/6.1.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21676.json",
"https://github.com/socketio/engine.io/security/advisories/GHSA-273r-mgr4-v34f",
"https://nvd.nist.gov/vuln/detail/CVE-2022-21676",
"https://security.netapp.com/advisory/ntap-20220209-0002/",
"https://github.com/socketio/engine.io/commit/66f889fc1d966bf5bfa0de1939069153643874ab",
"https://github.com/socketio/engine.io/commit/a70800d7e96da32f6e6622804ef659ebc58659db",
"https://github.com/socketio/engine.io/commit/c0e194d44933bd83bf9a4b126fca68ba7bf5098c"
],
"provider_metadata": {
"cwe_ids": [
"CWE-754"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21676.json"
}
},
"related_cves": [
{
"value": "CVE-2022-21676",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497747,
"published_at": "2022-01-12T18:25:15+00:00"
}