Inefficient regular expression complexity in nodemailer - #VU125297

 

Inefficient regular expression complexity in nodemailer - #VU125297

Published: January 31, 2024 / Updated: April 8, 2026


Vulnerability identifier: #VU125297
CSH Severity: Medium
CVSS v4: 6.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]
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient regular expression complexity in attachment and data URL parsing when processing a specially crafted email. A remote attacker can send a specially crafted email to cause a denial of service.

The issue can cause the event loop to become stuck.


Affected software

nodemailer

Remediation

Install security update from vendor's website.

nodemailer - update to 6.9.9

External References

Related Security Bulletins