Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-100702 EUVD-2026-87675GHSA-5hcf-56h7-4fvxGHSA-8vvx-rff5-p5rq

Nodemailer before 10.0.2 Stack Exhaustion via Nested Recipient Arrays

Published Sep 26, 2026 · Updated Sep 26, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
nodemailer nodemailer < 10.0.2 10.0.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-nodemailer 10.0.10+~8.0.1-1 —
Debian 13 node-nodemailer No fix yet —
Debian 12 node-nodemailer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-nodemailer No fix yet —
Ubuntu 26.04 LTS node-nodemailer No fix yet —
Ubuntu 24.04 LTS node-nodemailer No fix yet —
Ubuntu 22.04 LTS node-nodemailer No fix yet —
Ubuntu 20.04 LTS node-nodemailer No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm nodemailer < 10.0.2 10.0.2 GHSA-8vvx-rff5-p5rq

Advisories 1

References