PT-2025-54720 · Maven+1 · Nodemailer+1
Published
2025-12-01
·
Updated
2025-12-01
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Nodemailer (affected versions not specified)
Description
A Denial of Service (DoS) can occur due to the use of an unsafe function in the email address parser located in
lib/addressparser/index.js. The parser attempts to flatten nested group structures, which are prohibited by RFC 5322. When processing a malicious address header containing numerous colons (:) used to define groups, the parser enters an infinite recursion loop through the pattern addressparser → handleAddress → addressparser. This occurs because no recursion depth limit is enforced, eventually leading to a Maximum call stack size exceeded error that terminates the Node.js process immediately. This issue requires no authentication and can be triggered with a single request, potentially causing a continuous restart loop in environments using process managers like PM2 or Forever.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nodemailer
Org.Webjars.Npm:Nodemailer