GHSA-vm5r-23w9-m8hx
Duplicate Advisory: Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser)
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-prgh-xp8r-p3m5. This link is maintained to preserve external references. ## Original 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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | nodemailer | >= 9.1.0, <= 10.0.4 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-vm5r-23w9-m8hx
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-prgh-xp8r-p3m5
- https://nvd.nist.gov/vuln/detail/CVE-2026-90776
- https://github.com/nodemailer/nodemailer/commit/c07f17518d25aca8ab2ad66968dcbca538c24b89
- https://github.com/nodemailer/nodemailer
- 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://www.vulncheck.com/advisories/nodemailer-9.1.0-through-10.0.4-denial-of-service-via-quadratic-address-parsing