Skip to main content

Security Exposure

Submission servers accept user credentials, which makes 587 a target for password guessing and reuse of stolen credentials. Microsoft notes that Basic authentication makes credential capture easier and complicates MFA enforcement. If STARTTLS is optional, credentials can cross the network unencrypted.

Hardening

  • Require authentication before accepting MAIL commands, as RFC 6409 section 4.3 mandates.
  • Require STARTTLS before AUTH and reject cleartext logins.
  • Support TLS 1.2 or later, as RFC 8314 requires of submission servers, and disable TLS 1.0 and 1.1, which RFC 8996 deprecates.
  • Use modern authentication instead of Basic authentication where the platform allows.
  • Throttle failed logins and per-account sending volume.

Monitoring

Log AUTH failures and successes with source addresses and alert on password-spray patterns across many accounts. Monitor outbound volume per authenticated user.

SMTP Submission Vulnerabilities

6 CVEs
CVECVSS
CVE-2010-4344KEV
Exim Heap-Based Buffer Overflow Vulnerability
9.8
CVE-2010-4345KEV
Exim Privilege Escalation Vulnerability
7.8
CVE-2019-16928KEV
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149KEV
Exim Mail Transfer Agent (MTA) Improper Input Validation
9.0
CVE-2018-6789KEV
Exim Buffer Overflow Vulnerability
9.8
CVE-2026-4020
Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
7.5

Frequently Asked Questions

What is the difference between port 25 and 587?→

RFC 6409 keeps relay between mail servers on port 25 and reserves 587 for submission from mail clients, which allows separate security policy such as mandatory authentication.

Is port 587 encrypted?→

It starts in plaintext and upgrades with STARTTLS. RFC 8314 requires mail submission servers to support TLS 1.2 or later.

Which vulnerabilities affect the service on port 587?→

This database lists 6 CVEs related to SMTP Submission, 5 of them confirmed as exploited by CISA. Examples: CVE-2010-4344, CVE-2010-4345, CVE-2019-16928, CVE-2019-10149.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 587 is not guaranteed to be SMTP Submission. Exploited-in-the-wild data from the CISA KEV catalog (CC0).