Nodemailer 3.0.0 before 10.0.13 ReDoS via SMTP AUTH Mechanism Detection Regexes
nodemailer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nodemailer npm |
|
|
Original description
Nodemailer 3.0.0 before 10.0.13 has a regular expression denial of service in SMTPConnection._actionEHLO, whose four AUTH mechanism detection regexes contain overlapping whitespace sub-patterns that backtrack quadratically. A malicious or man-in-the-middle SMTP server can reply to EHLO with 250-AUTH, a long whitespace run and a non-matching token, blocking the Node.js event loop for tens of seconds to hours before authentication.
From the CVE record · VulnCheck
References
- github.com/nodemailer/nodemailer/security/advisories/GHSA-4ffr-jq9g-5ffxExploit
- vulncheck.com/advisories/nodemailer-3.0.0-before-10.0.13-redos-via-smtp-auth-mechanism-detection-regexes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110869.json
- nvd.nist.gov/vuln/detail/CVE-2026-110869
- github.com/nodemailer/nodemailer/commit/b5a896fcb02df1628329d7cd665ca08490b14b56
- github.com/nodemailer/nodemailer
- github.com/nodemailer/nodemailer/releases/tag/v10.0.13