Skip to main content
VulnerabilityPublished

CVE-2024-58379: nodemailer before 6.9.9 contains a regular expression denial of service vulnerability in email parsing when attachDataUrls parameter is set or

Affects nodemailerSource GCVE Database

0
Compare
Authoritative record:CVE-2024-58379· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 6.9.9 when convenient.

Data as of 29 Nov 2026, 18:36 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.9.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Upgrade nodemailer to 6.9.9.

Affected software

ProductAffectedFixed in
npmnodemailerpkg:npm/nodemailerOther threatsAffected
  • <6.9.9
Fixed in
  • 6.9.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version 6.9.9 or later should be used to remediate this vulnerability. Until patched, disabling the attachDataUrls parameter or avoiding processing embedded file attachments may reduce exposure.

Description

Nodemailer versions before 6.9.9 contain a regular expression denial of service (ReDoS) vulnerability in the email parsing functionality when the attachDataUrls parameter is enabled or when processing embedded file attachments. This vulnerability allows attackers to send specially crafted emails with malicious data URLs or embedded attachments that can cause the Node.js event loop to hang, resulting in a denial of service condition. The vulnerability does not impact confidentiality or integrity but affects availability.

References

Community reviews

Loading reviews…