node-nodemailer — security advisory
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.
- Products
- node-nodemailer
- Affected versions
- 6.3.0-2, 6.3.1-1, 6.4.0-1, 6.4.1-1, 6.4.17-3, 6.4.2-1, 6.4.5-1, 6.7.0-1, 6.7.0-2, 6.7.1+~6.4.4-1, 6.9.4+~6.4.9-2, 6.9.4+~6.4.9-3ubuntu1, 6.9.4+~6.4.9-4, 7.0.10+~7.0.2-1, 7.0.12+~7.0.5-1, 7.0.5+~7.0.1-1, 7.0.9+~7.0.2-2, 8.0.4+~7.0.11-1, 8.0.4+~7.0.11-2, 9.0.0+~8.0.1-1, 9.0.3+~8.0.1-1, 9.0.5+~8.0.1-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-100702
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:53 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-100702
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
node-nodemailer
Fixed versions: Not specified
Complete source record
{
"id": "eb44ad2b922ef37af169c0dc55cc508c3edb08433fc812ff242995737b366309",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-100702",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-100702",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-100702",
"products": [
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.3.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "6.3.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.4.5-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.4.17-3",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "6.7.1+~6.4.4-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.9.4+~6.4.9-2",
"evidence": "/affected/2/versions"
},
{
"value": "6.9.4+~6.4.9-3ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "6.9.4+~6.4.9-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.0.4+~7.0.11-1",
"evidence": "/affected/3/versions"
},
{
"value": "8.0.4+~7.0.11-2",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.0+~8.0.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.3+~8.0.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "9.0.5+~8.0.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-nodemailer",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.0.5+~7.0.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.9+~7.0.2-2",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.10+~7.0.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "7.0.12+~7.0.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.0.4+~7.0.11-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-100702",
"aliases": [
"UBUNTU-CVE-2026-100702"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.3.0-2",
"6.3.1-1",
"6.4.0-1",
"6.4.1-1",
"6.4.2-1",
"6.4.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100702.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.4.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.4.17-3",
"6.7.0-1",
"6.7.0-2",
"6.7.1+~6.4.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100702.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.7.1+~6.4.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.9.4+~6.4.9-2",
"6.9.4+~6.4.9-3ubuntu1",
"6.9.4+~6.4.9-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100702.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "6.9.4+~6.4.9-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"8.0.4+~7.0.11-1",
"8.0.4+~7.0.11-2",
"9.0.0+~8.0.1-1",
"9.0.3+~8.0.1-1",
"9.0.5+~8.0.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100702.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "9.0.5+~8.0.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-nodemailer",
"purl": "pkg:deb/ubuntu/node-nodemailer?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.0.5+~7.0.1-1",
"7.0.9+~7.0.2-2",
"7.0.10+~7.0.2-1",
"7.0.12+~7.0.5-1",
"8.0.4+~7.0.11-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100702.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-nodemailer",
"binary_version": "8.0.4+~7.0.11-1"
}
]
}
}
],
"modified": "2026-10-17T12:59:42.494339875Z",
"provider": "osv",
"upstream": [
"CVE-2026-100702"
],
"references": [
"https://ubuntu.com/security/CVE-2026-100702",
"https://www.cve.org/CVERecord?id=CVE-2026-100702",
"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8vvx-rff5-p5rq",
"https://www.vulncheck.com/advisories/nodemailer-before-10.0.2-stack-exhaustion-via-nested-recipient-arrays"
]
},
"related_cves": [
{
"value": "CVE-2026-100702",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359721,
"published_at": "2026-09-26T14:16:00+00:00"
}