# CVE-2024-58379: nodemailer before 6.9.9 ReDoS via attachDataUrls parameter

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-01-31T22:42:54.000Z
- Modified: 2026-10-27T23:10:00.153Z
- Also known as: GHSA-9h6g-pr28-7cqp
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nodemailer nodemailer: before 6.9.9 (not affected: 6.9.9)
- nodemailer (npm): before 6.9.9

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/nodemailer/nodemailer/security/advisories/GHSA-9h6g-pr28-7cqp> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nodemailer-before-6.9.9-redos-via-attachdataurls-parameter> (third-party-advisory)
- <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)

## Sources

- CVE List: [CVE-2024-58379](https://www.cve.org/CVERecord?id=CVE-2024-58379), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-9h6g-pr28-7cqp](https://github.com/advisories/GHSA-9h6g-pr28-7cqp), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2024-58379](https://nvd.nist.gov/vuln/detail/CVE-2024-58379), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2024-58379 · Whole record: https://cve.day/CVE-2024-58379.json · Rebuilt by cve.day 2026-11-25T22:58:53.067Z
