Description
The package io.socket:socket.io-client before 2.0.1 are vulnerable to NULL Pointer Dereference when parsing a packet with with invalid payload format.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- NULL Pointer Dereference
- CWE-476 (opens in a new tab)All about CWE-476 and its CVEs
Affected products
io.socket:socket.io-client
- affected unspecified – < 2.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenio.socket:socket.io-clientGHSA-85xx-xhjm-rhrw (opens in a new tab)
References (5)
- https://security.snyk.io/vuln/SNYK-JAVA-IOSOCKET-2949738 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io-client-java/issues/508%23issuecomment-1179817361 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io-client-java/commit/e8ffe9d1383736f6a21090ab959a2f4fa5a41284 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io-client-java/commit/8664499b6f31154f49783531f778dac5387b766b (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io-client-java/releases/tag/socket.io-client-2.0.1 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-85xx-xhjm-rhrw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25867)Record last updated .