CVE-2026-100702GHSA-8vvx-rff5-p5rq
Nodemailer before 10.0.2 Stack Exhaustion via Nested Recipient Arrays
nodemailer nodemailernpmLibraries & packages
CVSS
8.2HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.25%Chance of exploitation activity in the next 30 days, higher than 15% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 3
- nodemaileraffected: all versions before 10.0.2CVE List
- nodemailerunaffected: 10.0.2CVE List
- nodemailer, npmfrom first release, fixed in 10.0.2OSV