# CVE-2023-31125: Uncaught exception in engine.io

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-08 · Modified: 2025-02-13
- Aliases: GHSA-q9mw-68c2-j6m5
- Record: https://cvemate.com/vulnerability/CVE-2023-31125 · JSON: https://cvemate.com/vulnerability/CVE-2023-31125/json

## Description

```text
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.
```

## Signals

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

## Affected

- Npm engine.io (Npm): ≥ 5.1.0, \< 6.4.2
- socket engine.io: ≥ 5.1.0, \< 6.4.2
- socketio engine.io: ≥ 5.1.0, \< 6.4.2

## References

- <https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5>
- <https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44>
- <https://github.com/socketio/engine.io/releases/tag/6.4.2>
- <https://security.netapp.com/advisory/ntap-20230622-0002/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-31125>
- <https://github.com/socketio/engine.io>
- <https://security.netapp.com/advisory/ntap-20230622-0002>

---

Data as of 2026-12-05T09:59:51.307Z. 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
