// Security Advisory Triage
Nodemailer 10.0.5 patches O(n²) DoS in email address parsing
GitHub advisories — npm · published 2026-10-01 04:37 UTC
WHAT CHANGEDGitHub published GHSA-prgh-xp8r-p3m5 on 2026-09-30, rating a high-severity denial-of-service vulnerability in nodemailer's addressparser. The flaw triggers O(n²) algorithmic complexity when processing comment-joined email addresses, enabling remote exploitation through mailparser. Nodemailer 10.0.5 patches the issue.
WHY IT MATTERSAny service that parses incoming email with nodemailer or mailparser can be remotely crashed by a crafted address field. The quadratic complexity means a single malicious message can consume CPU proportional to the square of the input size, making the attack practical and the impact immediate.
WHAT TO DOCheck package.json and lock files for nodemailer < 10.0.5 or any transitive dependency on mailparser. If found, update nodemailer to 10.0.5 or later and redeploy services that handle inbound email.
Model-reported confidence 90% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-prgh-xp8r-p3m5 +summary: Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser) +severity: high +published_at: 2026-09-30T14:41:01Z +cve_id: +vulnerabilities[].package.name: nodemailer +vulnerabilities[].first_patched_version: 10.0.5
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Nodemailer is a standard Node.js email library in many service dependency trees. High-severity DoS with a patch available warrants action. |
| signals | known DoS vulnerability in nodemailer · high severity rating · patched version available (10.0.5) · nodemailer is a common dependency in Node.js services · reachable via mailparser (email processing chain) · O(n^2) algorithmic complexity enables remote exploitation |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |