Skip to content

← Public intelligence

npm package

smtp-server

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.7npmAmendedPublished

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

    CVE-2026-38728 · GHSA-fv2f-rw9f-v9cm

    Affected
    • npm smtp-server < 3.18.3
    Fixed in
    3.18.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 3.18.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →