Vulnerability · Published Aug 31, 2026 · Assigned by VulnCheck
CVE-2024-58379nodemailer before 6.9.9 ReDoS via attachDataUrls parameter
Medium 5.3
In plain English
A medium-severity regular-expression denial of service in nodemailer from nodemailer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
nodemailer before 6.9.9 contains a regular expression denial of service vulnerability in email parsing when attachDataUrls parameter is set or processing embedded file attachments. Attackers can send specially crafted emails with malicious data URLs or embedded attachments to cause the event loop to hang and deny service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-nodemailer | no fix listed | DEBIAN-CVE-2024-58379 |
| Debian:13 | node-nodemailer | 6.9.13+~6.4.14-1 | DEBIAN-CVE-2024-58379 |
| Debian:14 | node-nodemailer | 6.9.13+~6.4.14-1 | DEBIAN-CVE-2024-58379 |
| Ubuntu:22.04:LTS | node-nodemailer | no fix listed | UBUNTU-CVE-2024-58379 |
| Ubuntu:24.04:LTS | node-nodemailer | no fix listed | UBUNTU-CVE-2024-58379 |
| npm | nodemailer | 6.9.9 | GHSA-9h6g-pr28-7cqp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nodemailer | nodemailer | 0 – before 6.9.9 |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- GitHub Security Advisory (GHSA-9h6g-pr28-7cqp) vendor-advisory
- VulnCheck Advisory: nodemailer before 6.9.9 ReDoS via attachDataUrls parameter third-party-advisory