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

Published Aug 31, 2026
·
Updated

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 Software

1 affected component
npm/nodemailer<6.9.9

Event History

Aug 31, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using nodemailer versions before 6.9.9 are affected when they enable the attachDataUrls parameter or process emails containing embedded file attachments. Systems that do neither are not identified as affected by the provided information.

2

What does an attacker need to do to trigger the denial of service?

An attacker needs to send a specially crafted email containing malicious data URLs or embedded attachments. No authentication or user interaction is required according to the supplied severity vector.

3

What is the practical impact of successful exploitation?

Processing the crafted message can cause the Node.js event loop to hang, resulting in denial of service. The provided information indicates no confidentiality or integrity impact.

4

How can exposure be reduced before upgrading?

Avoid enabling attachDataUrls and avoid processing untrusted emails with embedded file attachments where operationally possible. Upgrade nodemailer to version 6.9.9 or later when patching is available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203