A flaw in Node.js URL processing causes an assertion failure in native code when url.format() is called with a malformed internationalized domain… (CVE-2026-21712)
Description
A vulnerability in Node.js URL processing causes an assertion failure in native code when the url.format() function is called with a malformed internationalized domain name containing invalid characters. This flaw leads to a crash of the Node.js process. The issue affects Node.js versions from 24.0.0 up to but not including 24.14.1, and from 25.0.0 up to but not including 25.8.2. A patch is available to address this vulnerability.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-21712 is a medium severity vulnerability in Node.js where the url.format() function triggers an assertion failure in native code if provided with a malformed internationalized domain name (IDN) containing invalid characters. This causes the Node.js process to crash. The flaw affects specific Node.js versions 24.0.0 through 24.14.0 and 25.0.0 through 25.8.1. The vulnerability does not have a CVSS score but is rated medium severity by the database. No known exploits in the wild have been reported. A patch is available to fix the issue.
Potential Impact
The vulnerability causes a denial of service by crashing the Node.js process when url.format() is called with a malformed IDN containing invalid characters. This could disrupt applications relying on Node.js but does not indicate remote code execution or data compromise based on the provided information.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Node.js to versions 24.14.1 or later, or 25.8.2 or later to remediate this issue. There is no indication that additional mitigations are required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-node-2026-21712
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2026-21712"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
- State
- PUBLISHED
Threat ID: 6a885f2dacd9273b493f82cc
Added to database: 08/21/2026, 14:22:37 UTC
Last enriched: 09/08/2026, 15:18:09 UTC
Last updated: 10/05/2026, 06:48:15 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.