Home / NodeJS / Node / CVE-2021-22918
CVE-2021-22918: is it exploited, and which versions of NodeJS Node are affected and fixed?
CVE-2021-22918 is an out-of-bounds read 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, 15:39 UTC). Affected: Node every 4 version, Node every 5 version, Node every 6 version and 10 more (CVE record by hackerone). Fixed in 12.22.2, 14.17.2 and 16.4.1 (CVE record by hackerone). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 20:17 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-22918?
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
From the CVE record by hackerone, last updated April 30, 2025, 22:24 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 from 12.0 before 12.22.2 every 13 version from 14.0 before 14.17.2 every 15 version and 1 more ranges | 12.22.2, 14.17.2, 16.4.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 12.0.0 before 12.22.2 | application |
| nodejs | node.js | from 14.0.0 before 14.17.2 | application |
| nodejs | node.js | from 16.0.0 before 16.4.1 | application |
| siemens | sinec infrastructure network services | before 1.0.1.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:38 UTC.
How severe is CVE-2021-22918?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/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-2021-22918 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 23.1% probability of exploitation activity in the next 30 days, percentile 97.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://hackerone.com/reports/1209681
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/
- https://security.netapp.com/advisory/ntap-20210805-0003/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- GLSA-202401-23 vendor-advisory
When was it published, and where is the official record?
- Reserved
- January 6, 2021
- Published
- July 12, 2021, 00:00 UTC
- CVE record updated
- April 30, 2025, 22:24 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 03:38 UTC
- Last checked
- CVE list November 28, 2026, 20:17 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 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-2021-22918
Is CVE-2021-22918 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 23.1% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NodeJS Node are affected by CVE-2021-22918?
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-2021-22918?
12.22.2, 14.17.2 and 16.4.1, per the CVE record by hackerone. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-22918?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-22918?
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.