CVE-2026-21712

Node.js: Node.js: Denial of Service via malformed Internationalized Domain Name processing

Published Mar 30, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw in Node.js URL processing causes an assertion failure in native code when `url.format()` is called with a malformed internationalized domain name (IDN) containing invalid characters, crashing the Node.js process.

Analysis

AI-generated

Technical impact

A flaw in Node.js URL processing causes an assertion failure in native code when url.format() is called with a malformed internationalized domain name that contains invalid characters. This assertion failure crashes the Node.js process, resulting in a denial of service. The vulnerability stems from a logic error in IDN handling (CWE‑168) and improper input validation leading to failures in internationalized domain name parsing (CWE‑20), and does not provide code execution or privilege escalation.

Affected Systems

The flaw affects the Node.js runtime (nodejs:node) in every version that has not applied the March 2026 security release. All installations that rely on url.format() and accept external input including internationalized domain names are vulnerable if they are still running a pre‑March 2026 build.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score of less than 1 % suggests a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker can trigger the crash by supplying a crafted IDN to a vulnerable application. The likely attack vector is when the application accepts user‑supplied URLs and invokes url.format(), allowing an external attacker to provide a malformed internationalized domain name. No public exploit has been disclosed, but the impact of a process crash can be significant in high‑availability or single‑process services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the Node.js March 2026 security releases or later
  • If an upgrade is delayed, sanitize or reject malformed internationalized domain names before passing them to url.format()
  • Monitor application logs for unexpected crashes and surface the issue promptly

Generated by OpenCVE AI on May 10, 2026 at 16:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nodejs node.js
CPEs cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
Vendors & Products Nodejs node.js
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Weaknesses CWE-739
Type Values Removed Values Added
Title URL Format Crash from Malformed Internationalized Domain Names Node.js: Node.js: Denial of Service via malformed Internationalized Domain Name processing
Weaknesses CWE-168
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Title URL Format Crash from Malformed Internationalized Domain Names
Weaknesses CWE-739
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw in Node.js URL processing causes an assertion failure in native code when `url.format()` is called with a malformed internationalized domain name (IDN) containing invalid characters, crashing the Node.js process.
References
Metrics cvssV3_0

{'score': 5.7, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-168

    Improper Handling of Inconsistent Special Elements

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
May 10, 2026, 1:16 PM
Reserved
Jan 4, 2026, 3:00 PM
Status
Analyzed
Published
Mar 30, 2026, 4:16 PM
Modified
Aug 19, 2026, 2:05 PM
Severity
Moderate
Public date
Mar 30, 2026, 3:13 PM