Description
Nodemailer before 10.0.2 fails to properly flatten deeply nested arrays in recipient fields such as to, cc, and bcc, allowing attackers to cause stack exhaustion. Attackers can supply a deeply nested JSON recipient array that triggers recursive Array.toString() conversion, exhausting the call stack and terminating the Node.js process.
Published: 2026-09-26
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch now
AI Analysis

Impact

The flaw is a stack exhaustion vulnerability that occurs when Nodemailer processes deeply nested recipient arrays in the to, cc, and bcc fields. Instead of properly flattening the array structure, the library recursively calls Array.toString(), consuming the call stack and crashing the Node.js process. This results in a denial of service for any mail transport using affected versions of Nodemailer.

Affected Systems

The vulnerability affects installations of Nodemailer prior to version 10.0.2. Any project that uses the nodemailer:nodemailer package without upgrading to 10.0.2 or later is susceptible.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity impact, while the EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit this flaw by forging an email with a recipient array that is heavily nested, causing the mail server to crash. Because the flaw is invoked through normal email processing, the attack vector is likely remote via the SMTP or API interface, and it requires no special privileges.

Generated by OpenCVE AI on September 27, 2026 at 02:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Nodemailer package to version 10.0.2 or later, which includes the proper flattening logic.
  • Validate that recipient arrays are not excessively nested by inspecting the length of the to, cc, and bcc fields, or by rejecting payloads that exceed a reasonable depth. This can act as a temporary mitigation until the upgrade is applied.
  • Implement a process monitor to automatically restart the Node.js service if it crashes due to stack exhaustion.

Generated by OpenCVE AI on September 27, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 27 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description Nodemailer before 10.0.2 fails to properly flatten deeply nested arrays in recipient fields such as to, cc, and bcc, allowing attackers to cause stack exhaustion. Attackers can supply a deeply nested JSON recipient array that triggers recursive Array.toString() conversion, exhausting the call stack and terminating the Node.js process.
Title Nodemailer before 10.0.2 Stack Exhaustion via Nested Recipient Arrays
First Time appeared Nodemailer
Nodemailer nodemailer
Weaknesses CWE-674
CPEs cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*
Vendors & Products Nodemailer
Nodemailer nodemailer
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Nodemailer Nodemailer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T23:11:16.551Z

Reserved: 2026-09-26T02:39:50.973Z

Link: CVE-2026-100702

cve-icon Vulnrichment

Updated: 2026-09-26T23:11:13.517Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-26T14:16:55.280

Modified: 2026-09-30T16:32:17.940

Link: CVE-2026-100702

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-26T13:23:57Z

Links: CVE-2026-100702 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T02:30:16Z

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling