Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
High

Node.js TLS callback exception handling DoS

IdentifiersCVE-2026-21637CWE-755

CVE-2026-21637 is a Node.js TLS error-handling vulnerability affecting TLS server code paths that invoke callback logic during the handshake. The provided content states that synchronous exceptions thrown from pskCallback or ALPNCallback can bypass normal TLS error handling (tlsClientError and error), resulting in either immediate process termination or silent file descriptor leaks. Supporting context also describes a related/incomplete-fix condition in _tls_wrap.js where callback invocation paths such as loadSNI() / SNICallback lacked protective try/catch wrapping, allowing attacker-controlled handshake input to trigger uncaught exceptions. Because these callbacks process remote client-supplied TLS handshake data, an unauthenticated attacker can repeatedly connect and trigger the vulnerable path, causing denial of service.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote, unauthenticated attacker to deny service against an affected Node.js TLS server. Depending on the callback path and runtime behavior, exploitation can cause an immediate crash via an uncaught exception or gradual resource exhaustion through leaked file descriptors, eventually preventing the server from accepting new connections or operating normally.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, avoid using pskCallback and ALPNCallback where feasible. Where those callbacks are required, ensure callback implementations defensively validate attacker-controlled input and do not allow synchronous exceptions to escape; wrap callback logic in local try/catch handling and fail closed without throwing. Additional operational mitigations such as connection throttling, handshake rate limiting, and file descriptor/resource monitoring can reduce exploit reliability but do not eliminate the underlying flaw.

Remediation

Patch, then assume compromise.

Upgrade Node.js to a fixed release line identified in the provided content: v20.20.2, v22.22.2, v24.14.1, or v25.8.2, as applicable to the deployed branch. If the vulnerable Node.js runtime is bundled through another product, apply the vendor update that incorporates the Node.js fix. The fix wraps vulnerable TLS callback invocation paths in safe exception handling so synchronous callback failures do not escape the TLS error-handling framework.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
NodejsNodejsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity10

Community discussion across Reddit, Mastodon, and other social sources.