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
CVSSv4.0: 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/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
nodemailer
Software vendor:
nodemailer

Description

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.


Remediation

Install security update from vendor's website.

External links