5.9Medium

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

nodemailer nodemailer Published: (1 month ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nodemailer nodemailer < 10.0.2, fixed 10.0.2

References and patches