Description
Nodemailer from 3.0.0 before 10.0.10 contains a denial of service vulnerability in MessageParser.parseHeaders that allows users to exhaust CPU through quadratic header unfolding. Attackers can supply large recipient lists or long headers that fold into tens of thousands of continuation lines, blocking the Node.js event loop during DKIM signing.
Published: 2026-10-14
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Nodemailer, a widely used Node.js mail transport library, contains a denial‑of‑service flaw in MessageParser.parseHeaders. The bug arises from quadratic header unfolding when processing DKIM‑signed messages, allowing an attacker to supply an exceptionally large number of recipients or a header that folds into many continuation lines. When such payloads are parsed, the CPU time required grows rapidly, eventually exhausting the Node.js event loop and rendering the application unresponsive. This weakness is classified as CWE-400: Uncontrolled Resource Consumption, and it can compromise availability for any service relying on Nodemailer’s DKIM functionality.

Affected Systems

The vulnerability affects all Nodemailer installations from version 3.0.0 up to but not including 10.0.10. Both community and commercial deployments that import the npm package nodemailer are susceptible. No impact on specific operating systems or platforms is noted; the issue is confined to the JavaScript library itself. Organisations running mail relays, notification services, or any application that uses Nodemailer for DKIM signing should assess whether they are on a protected version.

Risk and Exploitability

The CVSS score of 7.1 classifies this as a high‑severity vulnerability, and the lack of an available EPSS score means no quantified exploit probability is currently reported. Because the flaw requires an attacker to send crafted mail to the target application, it is limited to environments that accept inbound mail or process arbitrary DKIM mail. The vulnerability is not listed in CISA’s KEV catalog, indicating no known large‑scale exploitation has been reported to date. The most probable attack vector involves forging a DKIM‑signed message with many recipients or folded header lines, causing the target service to allocate excessive CPU cycles and stall.

Generated by OpenCVE AI on October 15, 2026 at 12:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nodemailer to version 10.0.10 or later to remove the quadratic header unfolding bug.
  • Configure mail parsers to enforce strict limits on the number of recipients and the total header size before DKIM signing is attempted.
  • Monitor the application for excessive CPU usage or event loop stalls resulting from email processing, and enforce rate limiting on inbound mail.

Generated by OpenCVE AI on October 15, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-39m8-27wv-hr27 Nodemailer: Quadratic (O(n^2)) DKIM header unfolding lets a large folded header cause remote denial of service during signing
History

Tue, 20 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1322
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 14 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Description Nodemailer from 3.0.0 before 10.0.10 contains a denial of service vulnerability in MessageParser.parseHeaders that allows users to exhaust CPU through quadratic header unfolding. Attackers can supply large recipient lists or long headers that fold into tens of thousands of continuation lines, blocking the Node.js event loop during DKIM signing.
Title Nodemailer 3.0.0 before 10.0.10 Quadratic DKIM Header Unfolding Denial of Service
First Time appeared Nodemailer
Nodemailer nodemailer
Weaknesses CWE-400
CPEs cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*
Vendors & Products Nodemailer
Nodemailer nodemailer
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Nodemailer Nodemailer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T02:28:10.449Z

Reserved: 2026-10-14T22:21:21.397Z

Link: CVE-2026-110871

cve-icon Vulnrichment

Updated: 2026-10-20T02:28:04.577Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-14T23:17:28.953

Modified: 2026-10-20T03:17:14.553

Link: CVE-2026-110871

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T22:52:59Z

Links: CVE-2026-110871 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T02:45:17Z

Weaknesses
  • CWE-1322

    Use of Blocking Code in Single-threaded, Non-blocking Context

  • CWE-400

    Uncontrolled Resource Consumption