Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nodemailer
  4. ›
  5. GHSA-v53p-9fqp-m79j

GHSA-v53p-9fqp-m79j: Nodemailer: Quadratic backtracking in the addressparser free-text fallback allows remote denial of service

September 29, 2026

When addressparser finds no address by its strict reading, it falls back to pulling one out of the free text with /\s*\b[^@\s]+@[^\s]+\b\s*/. That pattern backtracks quadratically: [^@\s]+ is retried from every offset and rescans the run to the next @ each time. A single header value holding a long whitespace-free run with no usable @ blocks the Node.js event loop for tens of seconds.

It is cheaper to exploit than GHSA-prgh-xp8r-p3m5: 273KB is enough for ~43s, where the comment-joined shape needed ~1.5MB for ~10s.

References

  • github.com/advisories/GHSA-v53p-9fqp-m79j
  • github.com/nodemailer/nodemailer/commit/437d7fc47403df176bc39271641541b7a9bce102
  • github.com/nodemailer/nodemailer/releases/tag/v10.0.6
  • github.com/nodemailer/nodemailer/security/advisories/GHSA-v53p-9fqp-m79j

Code Behaviors & Features

Detect and mitigate GHSA-v53p-9fqp-m79j with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.0.6

Fixed versions

  • 10.0.6

Solution

Upgrade to version 10.0.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/nodemailer/GHSA-v53p-9fqp-m79j.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 12:19:06 +0000.