CVE-2026-100702: Nodemailer before 10.0.2 Stack Exhaustion via Nested Recipient Arrays

Published Sep 26, 2026
·
Updated

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.

Affected Software

1 affected component
npm/nodemailer<10.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nodemailer to a version that resolves this vulnerability.

    Fixed in 10.0.2

Event History

Sep 26, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Deployments using Nodemailer versions before 10.0.2 are affected if recipient fields can receive deeply nested arrays.

2

What must an attacker be able to provide?

An attacker must be able to supply a deeply nested JSON array in a recipient field, including to, cc, or bcc. No privileges or user interaction are required according to the provided severity vector.

3

How can I determine whether an instance is vulnerable?

Check the installed Nodemailer version and review whether untrusted input can populate the to, cc, or bcc fields as nested arrays. Versions before 10.0.2 meet the affected version condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203