Home / NodeJS / Node / CVE-2022-35255
CVE-2022-35255: is it exploited, and which versions of NodeJS Node are affected and fixed?
CVE-2022-35255 is a weak random number generator vulnerability in NodeJS Node. 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, 10:38 UTC). Affected: Node every 4 version, Node every 5 version, Node every 6 version and 10 more (CVE record by hackerone). Fixed in 18.9.1 (CVE record by hackerone). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 28, 2026, 19:40 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-35255?
A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2) The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material.
From the CVE record by hackerone, last updated April 30, 2025, 05:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NodeJS | Node | every 4 version every 5 version every 6 version every 7 version every 8 version every 9 version every 10 version every 11 version every 12 version every 13 version every 15 version every 17 version and 1 more ranges | 18.9.1 |
As the CVE record by hackerone states it, last updated April 30, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodejs | node.js | from 15.0.0 through 15.14.0 | application |
| nodejs | node.js | from 16.0.0 through 16.12.0 | application |
| nodejs | node.js | from 16.13.0 before 16.17.1 | application |
| nodejs | node.js | from 18.0.0 before 18.9.1 | application |
| siemens | sinec ins | before 1.0 | application |
| siemens | sinec ins | 1.0 | application |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:51 UTC.
How severe is CVE-2022-35255?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
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-2022-35255 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, April 24, 2025)
- EPSS
- 2.64% probability of exploitation activity in the next 30 days, percentile 86.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
- https://hackerone.com/reports/1690000
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- https://security.netapp.com/advisory/ntap-20230113-0002/
- DSA-5326 vendor-advisory
When was it published, and where is the official record?
- Reserved
- July 6, 2022
- Published
- December 5, 2022, 00:00 UTC
- CVE record updated
- April 30, 2025, 05:48 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 04:51 UTC
- Last checked
- CVE list November 28, 2026, 19:40 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Node?
- Nov 11, 2026CVE-2026-126051 nodejs node: NULL pointer dereference (crash)
- Nov 11, 2026CVE-2026-123875 nodejs node: NULL pointer dereference (crash)
- Nov 11, 2026CVE-2026-123874 nodejs node: use after free
- Nov 11, 2026CVE-2026-123872 nodejs node: authentication bypass (improper authentication)
- Nov 11, 2026CVE-2026-123877 nodejs node: improper certificate validation
- Nov 11, 2026CVE-2026-123871 nodejs node: information disclosure in error messages
- Nov 11, 2026CVE-2026-123868 nodejs node: denial of service (uncontrolled resource consumption)
- Nov 11, 2026CVE-2026-123867 nodejs node: improper certificate validation
Questions about CVE-2022-35255
Is CVE-2022-35255 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 2.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of NodeJS Node are affected by CVE-2022-35255?
Node every 4 version, Node every 5 version, Node every 6 version, Node every 7 version, Node every 8 version, Node every 9 version and 7 more, per the CVE record by hackerone. The tables above give every range the sources list.
Which version fixes CVE-2022-35255?
18.9.1, per the CVE record by hackerone. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-35255?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-35255?
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.