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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.53%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-21T23:55:41.000Z
- Modified: 2026-06-17T05:04:06.203Z
- Also known as: GHSA-r7qp-cfhv-p84w
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- socketio engine.io: < 3.6.1; >= 4.0.0, < 6.2.1
- engine.io (npm): before 3.6.1; from 4.0.0 before 6.2.1
- socket engine.io: before 3.6.1; from 4.0.0 before 6.2.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w> (exploit, third-party-advisory, web)
- <https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6> (patch, third-party-advisory, web)
- <https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41940> (advisory)
- <https://github.com/socketio/engine.io> (package)

## Sources

- CVE List: [CVE-2022-41940](https://www.cve.org/CVERecord?id=CVE-2022-41940), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-r7qp-cfhv-p84w](https://github.com/advisories/GHSA-r7qp-cfhv-p84w), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-41940](https://nvd.nist.gov/vuln/detail/CVE-2022-41940), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41940 · Whole record: https://cve.day/CVE-2022-41940.json · Rebuilt by cve.day 2026-11-25T22:58:16.779Z
