CVE-2026-110871

Nodemailer 3.0.0 before 10.0.10 Quadratic DKIM Header Unfolding Denial of Service

Published Oct 14, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1322

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

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 2:28 AM
Reserved
Oct 14, 2026, 10:21 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 11:17 PM
Modified
Oct 20, 2026, 3:17 AM
Severity
Moderate
Public date
Oct 14, 2026, 10:52 PM