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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-407 — Inefficient Algorithmic Complexity
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nodemailer | nodemailer | 9.1.0 to <10.0.5; 10.0.5 |
References
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-prgh-xp8r-p3m5 (vendor-advisory)
- https://github.com/nodemailer/nodemailer/commit/c07f17518d25aca8ab2ad66968dcbca538c24b89 (patch)
- https://github.com/nodemailer/nodemailer/blob/v10.0.4/src/addressparser/index.ts#L251 (technical-description)
- https://github.com/nodemailer/nodemailer/releases/tag/v10.0.5 (release-notes)
- https://github.com/nodemailer/nodemailer (product)
- https://www.vulncheck.com/advisories/nodemailer-9.1.0-through-10.0.4-denial-of-service-via-quadratic-address-parsing (third-party-advisory)
Generated from the official CVE List on 14 Sep 2026 07:02 UTC.