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().
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"nodejs:node.js": [
">= 12.0.0, < 12.22.2",
">= 14.0.0, < 14.17.2",
">= 16.0.0, < 16.4.1"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22918",
"id": "CVE-2021-22918",
"imported": "2026-12-04T20:13:53.913Z",
"modified": "2026-06-17T03:38:01.333Z",
"published": "2021-07-12T11:15:07.937Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-22918"
},
{
"html_url": "https://github.com/advisories/GHSA-x3cj-3539-rcpx",
"id": "GHSA-x3cj-3539-rcpx",
"imported": "2026-12-04T20:14:25.410Z",
"modified": "2024-01-16T15:30:26Z",
"published": "2021-07-13T21:07:10Z",
"url": "https://api.github.com/advisories/GHSA-x3cj-3539-rcpx"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-10047",
"id": "EUVD-2021-10047",
"imported": "2026-12-04T20:13:56.326Z",
"modified": "2025-04-30T22:24:33Z",
"published": "2021-07-12T00:00:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2021-10047"
}
]
}