CVE-2024-58379
MEDIUM 6.9CVSS 4.0nodemailer ReDoS when trying to send a specially crafted email
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.
- Published
- 31 Aug 2026
- Last modified
- 27 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1333
- Also known as
- GHSA-9h6g-pr28-7cqp
- Sources
- NVDJSONOSV GHSA-9h6g-pr28-7cqpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | nodemailer | < 6.9.9 | 6.9.9 |
References
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-9h6g-pr28-7cqp · WEB
- https://www.vulncheck.com/advisories/nodemailer-before-6.9.9-redos-via-attachdataurls-parameter
- https://github.com/nodemailer/nodemailer/commit/dd8f5e8a4ddc99992e31df76bcff9c590035cd4a · WEB
- https://gist.github.com/francoatmega/890dd5053375333e40c6fdbcc8c58df6 · WEB
- https://gist.github.com/francoatmega/9aab042b0b24968d7b7039818e8b2698 · WEB
- https://github.com/nodemailer/nodemailer · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 31 Jan 2024)