Intel

AIKIDO-2026-284931

nodemailer is vulnerable to Denial of Service (DoS)

CVE-2026-110871Published Oct 5, 2026
October 5, 2026

65

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Nodemailer's DKIM message parser unfolds RFC 5322 header continuation lines by repeatedly concatenating each new line onto the previous line and re-testing a continuation regex against the growing merged string. Signing a message whose header folds into many continuation lines, most commonly a large recipient list, drives this re-scan into O(n^2) CPU and blocks the single threaded Node.js event loop for several seconds. The cost scales with how many continuation lines the signed header folds into, so a user controlled recipient list or custom header can trigger it. The fix unfolds headers in a single forward pass that tests each freshly split line only once.

How do I fix this?

Upgrade the nodemailer library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you DKIM-sign outbound messages whose headers can fold into many continuation lines, such as a large recipient list.

Package

Versions

3.0.0 - 10.0.9

Fixed in 10.0.10

Background info

nodemailer is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 10.0.9.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea