# CVE-2017-16031

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-06-04 · Modified: 2024-09-16
- Aliases: GHSA-qv2v-m59f-v5fw
- Record: https://cvemate.com/vulnerability/CVE-2017-16031 · JSON: https://cvemate.com/vulnerability/CVE-2017-16031/json

## Description

```text
Socket.io is a realtime application framework that provides communication via websockets. Because socket.io 0.9.6 and earlier depends on `Math.random()` to create socket IDs, the IDs are predictable. An attacker is able to guess the socket ID and gain access to socket.io servers, potentially obtaining sensitive information.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.932%, percentile 80.727%, 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

- hackerone socket.io node module: ≤ 0.9.6
- Npm socket.io (Npm): \< 0.9.7
- socket socket.io: ≤ 0.9.6

## References

- <https://github.com/socketio/socket.io/commit/67b4eb9abdf111dfa9be4176d1709374a2b4ded8>
- <https://github.com/socketio/socket.io/issues/856>
- <https://github.com/socketio/socket.io/pull/857>
- <https://nodesecurity.io/advisories/321>
- <https://nvd.nist.gov/vuln/detail/CVE-2017-16031>
- <https://github.com/advisories/GHSA-qv2v-m59f-v5fw>
- <https://github.com/socketio/socket.io>
- <https://www.npmjs.com/advisories/321>

---

Data as of 2026-12-05T10:12:29.368Z. 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
