CVE-2022-41940: Uncaught exception in engine.io
Vulnerability summary
CVE-2022-41940 is a high (CVSS 7.1) Uncaught Exception vulnerability in socket engine.io. EPSS estimates a 2.53% chance of exploitation in the next 30 days, higher than 85.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 22-11-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
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, including those who uses depending packages like socket.io. There is no known workaround except upgrading to a safe version. There are patches for this issue released in versions 3.6.1 and 6.2.1.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
2.53%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
Increase +0.42 pp
From 2.11% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundEngine.Io
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
Socket1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
Socketio1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
3 vendors · 3 products
References
5 links- github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6WEBPatchThird Party Advisory
- github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085WEBPatchThird Party Advisory