Home / socketio / socket.io / CVE-2024-38355
CVE-2024-38355: is it exploited, and which versions of socketio socket.io are affected and fixed?
CVE-2024-38355 is an improper input validation vulnerability in socketio socket.io. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: socket.io before 2.5.1 and socket.io from 3.0.0 before 4.6.2 (GitHub advisory GHSA-25hc-qcg6-38wj). Fixed in 2.5.1 and 4.6.2 (GitHub advisory GHSA-25hc-qcg6-38wj). Severity: High (7.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-38355?
Unhandled 'error' event in socket.io
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 `[email protected]` (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.
From the CVE record by GitHub_M, last updated September 3, 2024, 20:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| socketio | socket.io | < 2.5.1 >= 3.0.0,< 4.6.2 |
As the CVE record by GitHub_M states it, last updated September 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | socket.io | < 2.5.1 | 2.5.1 | GHSA-25hc-qcg6-38wj |
| npm | socket.io | >= 3.0.0, < 4.6.2 | 4.6.2 | GHSA-25hc-qcg6-38wj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2026. Summary: socket.io has an unhandled 'error' event.
How severe is CVE-2024-38355?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-38355 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 3, 2024)
- EPSS
- 0.81% probability of exploitation activity in the next 30 days, percentile 58.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj x_refsource_CONFIRM
- https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115 x_refsource_MISC
- https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355
When was it published, and where is the official record?
- Reserved
- June 14, 2024
- Published
- June 19, 2024, 19:48 UTC
- CVE record updated
- September 3, 2024, 20:35 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:39 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect socket.io?
- Nov 30, 2026CVE-2026-137200 socketio socket.io: uncaught exception (crash)
- Oct 13, 2026CVE-2026-102599 socketio socket.io: uncaught exception (crash)
- Sep 29, 2026CVE-2026-102600 socketio socket.io: improper input validation
- Aug 3, 2026CVE-2026-69185 socketio socket.io: improper input validation
- Jul 8, 2026CVE-2026-59724 socketio socket.io: improper input validation
- Mar 20, 2026CVE-2026-33151 socketio socket.io: improper input validation
Questions about CVE-2024-38355
Is CVE-2024-38355 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of socketio socket.io are affected by CVE-2024-38355?
socket.io before 2.5.1 and socket.io from 3.0.0 before 4.6.2, per the GitHub advisory GHSA-25hc-qcg6-38wj. The tables above give every range the sources list.
Which version fixes CVE-2024-38355?
2.5.1 and 4.6.2, per the GitHub advisory GHSA-25hc-qcg6-38wj. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-38355?
High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-38355?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.