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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 63.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12node-nodemailerno fix listedDEBIAN-CVE-2024-58379
Debian:13node-nodemailer6.9.13+~6.4.14-1DEBIAN-CVE-2024-58379
Debian:14node-nodemailer6.9.13+~6.4.14-1DEBIAN-CVE-2024-58379
Ubuntu:22.04:LTSnode-nodemailerno fix listedUBUNTU-CVE-2024-58379
Ubuntu:24.04:LTSnode-nodemailerno fix listedUBUNTU-CVE-2024-58379
npmnodemailer6.9.9GHSA-9h6g-pr28-7cqp

Affected products (as reported)

VendorProductVersions
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