# CVE-2024-38355: Unhandled 'error' event in socket.io

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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): 0.81%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-06-19T15:04:41.000Z
- Modified: 2026-09-24T15:00:04.702Z
- Also known as: GHSA-25hc-qcg6-38wj
- Weaknesses: CWE-20, CWE-754
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the "error" event to catch these errors.

(As written by CVE List.)

## Affected

- socketio socket.io: < 2.5.1; >= 3.0.0,< 4.6.2
- socket socket.io: before 2.5.1; from 3.0.0 before 4.6.2
- socket.io (npm): before 2.5.1; from 3.0.0 before 4.6.2

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj> (web)
- <https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115> (web)
- <https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c> (web)
- <https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38355> (advisory)
- <https://github.com/socketio/socket.io> (package)

## Sources

- CVE List: [CVE-2024-38355](https://www.cve.org/CVERecord?id=CVE-2024-38355), CVE Terms of Use, modified 2024-09-03
- GitHub Advisory Database: [GHSA-25hc-qcg6-38wj](https://github.com/advisories/GHSA-25hc-qcg6-38wj), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2024-38355](https://nvd.nist.gov/vuln/detail/CVE-2024-38355), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38355 · Whole record: https://cve.day/CVE-2024-38355.json · Rebuilt by cve.day 2026-11-25T22:58:42.053Z
