Nodemailer 9.1.0 through 10.0.4 Denial of Service via Quadratic Address Parsing (nodemailer nodemailer)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 53 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- VulnCheck
- NVD status
- Awaiting Analysis
Description
Nodemailer versions 9.1.0 through 10.0.4 contain a quadratic time complexity vulnerability in the addressparser component when parsing email addresses with RFC 5322 comments. Attackers can craft malicious email headers with comment-separated atoms to consume excessive CPU and block the Node.js event loop for several seconds, causing denial of service.
Weaknesses (CWE)
- CWE-407 — Inefficient Algorithmic Complexity
References
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-prgh-xp8r-p3m5
- https://github.com/nodemailer/nodemailer/commit/c07f17518d25aca8ab2ad66968dcbca538c24b89
- https://github.com/nodemailer/nodemailer/blob/v10.0.4/src/addressparser/index.ts#L251
- https://github.com/nodemailer/nodemailer/releases/tag/v10.0.5
- https://github.com/nodemailer/nodemailer
- https://www.vulncheck.com/advisories/nodemailer-9.1.0-through-10.0.4-denial-of-service-via-quadratic-address-parsing
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
| CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · disclosure@vulncheck.com (Secondary) |
Advisories
- GHSA-prgh-xp8r-p3m5 — Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser)
European references
- ENISA EUVD · EUVD-2026-77000
- GCVE · GCVE-0-2026-90776
Affected products
| Product | Versions |
|---|---|
| nodemailer · nodemailer | affected 9.1.0 < 10.0.5 ; unaffected 10.0.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |