ZeroHour

CVE-2026-92596

mass

Quadratic-complexity DoS in Nodemailer addressparser before 9.1.0

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

Nodemailer before 9.1.0 contains an uncontrolled resource consumption flaw (CWE-400): a quadratic time-complexity algorithm in its addressparser component. A remote attacker can trigger it by supplying a crafted comma-separated address list — for example, sending a single email with a very large number of addresses that the application parses. The parsing stalls the Node.js event loop for extended periods, driving the process to 100% CPU and effectively freezing the entire application, yielding a denial of service with no confidentiality or integrity impact. Any Node.js service running a vulnerable Nodemailer version that parses attacker-controlled address lists (such as inbound email headers or user-supplied recipient lists) is affected. Exploitation has not been observed: the issue is not in CISA KEV and no public proof-of-concept is known.

What to do: Upgrade to Nodemailer 9.1.0 or later. Until patched, cap the number and length of addresses accepted per message, avoid passing untrusted email headers or user-supplied recipient lists into address parsing, and rate-limit or isolate email-parsing workloads (e.g., worker processes with hang detection/restart) so a stall cannot freeze the main service. Audit your codebase and dependencies to determine whether attacker-controlled input reaches Nodemailer's address parser.

Affected
Nodemailer (npm package, addressparser component)All versions before 9.1.0
Estimated exposure
masspotentially millions of dependent Node.js applications (npm package with multi-million weekly downloads) — Nodemailer is one of the most widely downloaded npm email libraries, with npm registry statistics historically showing multi-million weekly downloads, though only deployments that feed attacker-supplied address lists into the parser are…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Nodemailer before 9.1.0 contains a quadratic time complexity vulnerability in the addressparser component that allows remote attackers to cause denial of service by supplying a crafted comma-separated address list. Attackers can send a single email with a large number of addresses to block the Node.js event loop for extended periods, consuming 100% CPU and freezing the process.

Weakness
CWE-400
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.