What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: nodemailer 10.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-100702 or the next vulnerability affects your stack