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.
Published: 2026-08-31
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Nodemailer versions earlier than 6.9.9 contain a regular expression denial of service condition in the email parsing logic when the attachDataUrls option is enabled or when processing embedded file attachments that contain data URLs. A crafted email containing malicious data URLs or specially formatted attachments can trigger exponential backtracking in the regex engine, causing the event loop to block indefinitely and resulting in a denial of service. The vulnerability is classified as CWE‑1333 and is limited to service availability; it does not directly lead to unauthorized data disclosure or code execution.

Affected Systems

The affected product is the Nodemailer library for all platforms where it is used as an e‑mail transport. Any installation that relies on a Nodemailer version prior to 6.9.9 is susceptible to the vulnerability, regardless of the host operating system.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity. No specific privileges are mentioned in the CVE description; the analysis infers that the attacker does not need elevated privileges, but this conclusion is not explicitly stated by the vendor. The exploit requires only that the vulnerable system process crafted e‑mail content, so its success depends on how the mail transport receives external input. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. In environments where Nodemailer parses untrusted e‑mail data, an attacker could cause sustained blocking of the event loop, potentially degrading or halting other services that run in the same Node.js process.

Generated by OpenCVE AI on August 31, 2026 at 10:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Nodemailer to version 6.9.9 or later.
  • If an upgrade cannot be performed immediately, disable the attachDataUrls option or validate and sanitize data URLs before they reach the parser.
  • Implement strict resource limits or run the mail transport in a sandboxed environment to restrict the impact of a blocking event loop.

Generated by OpenCVE AI on August 31, 2026 at 10:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 31 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title nodemailer before 6.9.9 ReDoS via attachDataUrls parameter
First Time appeared Nodemailer
Nodemailer nodemailer
Weaknesses CWE-1333
CPEs cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*
Vendors & Products Nodemailer
Nodemailer nodemailer
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Nodemailer Nodemailer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T11:02:23.257Z

Reserved: 2026-08-16T13:02:14.690Z

Link: CVE-2024-58379

cve-icon Vulnrichment

Updated: 2026-08-31T11:02:18.291Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-31T09:16:59.387

Modified: 2026-09-10T15:48:28.757

Link: CVE-2024-58379

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-31T08:46:24Z

Links: CVE-2024-58379 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:00:07Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity