CVE-2026-38728
JSON

7.5high

smtp-server's command parser memory exhaustion denial-of-service

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.75% (higher than 51% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fv2f-rw9f-v9cm

Description

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
smtp-server (npm)before 3.18.3GitHub Advisory Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-400

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database

smtp-server prior to v3.18.3 are vulnerable to unauthenticated memory exhaustion denial-of-service. smtp-server's command parser allows any remote client to consume server memory by sending data without newline characters. The server's _remainder buffer in SMTPStream._write grows without limit, leading to heap exhaustion, prolonged GC pauses that freeze the event loop, and in some cases, process crash.

The _write method in lib/smtp-stream.js appends incoming TCP chunks to this._remainder in command mode. The buffer is only emptied when a newline is found. If a client never sends a newline, the _remainder value will grow indefinitely, causing excess memory consumption.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-38728 changed 2026-05-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-fv2f-rw9f-v9cm changed 2026-06-29CC-BY-4.0
NVDCVE-2026-38728 changed 2026-06-17Public domain