# CVE-2022-41940: Uncaught exception in engine.io

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.6.1, 6.2.1 (CNA); fix release not confirmed
- Status: published
- Published: 2022-11-22 · Modified: 2025-04-22
- Aliases: GHSA-r7qp-cfhv-p84w
- Record: https://cvemate.com/vulnerability/CVE-2022-41940 · JSON: https://cvemate.com/vulnerability/CVE-2022-41940/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H
- EPSS: 2.533%, percentile 85.454%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Npm engine.io (Npm): \< 3.6.1 \| ≥ 4.0.0, \< 6.2.1
- socket engine.io: \< 3.6.1 \| ≥ 4.0.0, \< 6.2.1
- socketio engine.io: \< 3.6.1 \| ≥ 4.0.0, \< 6.2.1

## References

- <https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w>
- <https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6>
- <https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41940>
- <https://github.com/socketio/engine.io>

---

Data as of 2026-12-05T10:01:48.212Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
