Skip to main content

smtp-server CVE-2026-38728

| EUVDEUVD-2026-30546 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-05-15 cve@mitre.org GHSA-fv2f-rw9f-v9cm
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to SMTP port
  2. Exploit
    Send oversized command line
  3. Execution
    Trigger memory exhaustion
  4. Impact
    Crash server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of smtp-server versions before 3.18.3. The only requirement is network access to the SMTP port (typically 25, 587, or 465). Exploitation is not limited by authentication, specific features, or non-default settings. The attack works against any deployment using the vulnerable smtp-server package to receive SMTP connections.

Impact

The CVSS 7.5 score accurately reflects a high-severity DoS risk with network vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N). The SSVC assessment confirms POC availability and high automation potential, indicating this is easily exploitable at scale. However, the impact is limited to availability (A:H) with no confidentiality or integrity impact. The EPSS score is not provided, and the vulnerability is not in CISA KEV despite POC existence, suggesting it may not be actively exploited in the wild yet. This represents a significant operational risk for internet-facing SMTP servers but not a data breach risk.

Exploit ScenarioDerived

An attacker sends a specially crafted SMTP command with an extremely long command line to the vulnerable server. The server attempts to process this command without length validation, allocating memory until the Node.js process exhausts available RAM and crashes. Since authentication is not required, any internet-connected smtp-server instance is vulnerable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 15, 2026

Memory exhaustion vulnerability in Nodemailer smtp-server before v3.18.3 enables remote denial of service attacks through unbounded command line processing. The vulnerability allows unauthenticated attackers to crash SMTP services by sending oversized commands that exhaust server memory. Public exploit code exists and the issue is rated as highly automatable by CISA SSVC framework, though not yet listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to smtp-server version 3.18.3 or later, which implements command line length limits to prevent memory exhaustion. The fix is available at https://github.com/nodemailer/smtp-server/releases/tag/v3.18.3. For systems that cannot immediately upgrade, implement rate limiting on SMTP connections and monitor memory usage with automated service restart capabilities. Consider placing a reverse proxy with request size limits in front of the SMTP server, though this may interfere with legitimate large emails.

Affected VersionsENISA

n/a n/a

Affected Packages

npm smtp-server fix: 3.18.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The smtp-server package is a Node.js SMTP server implementation used by Nodemailer for receiving email. The vulnerability stems from CWE-400 (Uncontrolled Resource Consumption) where the SMTPStream._write function in lib/smtp-stream.js fails to limit the length of incoming SMTP command lines. This allows attackers to send arbitrarily long commands that consume excessive memory, eventually causing the server process to crash or become unresponsive.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
May 15, 2026 - 16:22 NVD
7.5 (HIGH)
CVE Published
May 15, 2026 - 15:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue in Nodemailer smtp_server before v.3.18.3 allows a remote attacker to cause a denial of service via the SMTPStream._write, lib/smtp-stream.js components

Executive ViewAI

Why It Matters

CVE-2026-38728 is a memory exhaustion vulnerability in Nodemailer smtp-server that allows unauthenticated remote attackers to crash SMTP services through oversized commands, disrupting email functionality and availability. Organizations running affected versions face operational risk to email infrastructure without an available vendor patch, requiring immediate interim mitigation strategies.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network-level SMTP command size limits (RFC 5321 compliance: max 512 bytes per command); (2) Deploy rate limiting on SMTP connections to threshold suspicious volume; (3) Configure process-level memory caps and monitoring with automatic restart triggers; (4) Restrict SMTP access to known trusted sources via firewall rules; (5) Maintain SMTP service redundancy with automatic failover; (6) Enable detailed logging of oversized command attempts for incident detection.

Threat Intelligence Overview

EPSS Score
0.1%
Top 73% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy