RUSTSEC-2026-0562: Panic on an `EHLO` reply line of only white space allows denial of service
A malicious or compromised server can reply to EHLO with a line holding nothing but white space, causing the client to panic.
Applications that connect only to a trusted server over implicit TLS are not exposed; the risk applies to clients that may connect to untrusted servers, or that use STARTTLS or no TLS, where a man-in-the-middle can forge the reply.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/lettreto a version that resolves this vulnerability.Fixed in 0.11.24
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service condition?
Clients that may connect to untrusted SMTP servers are exposed. Clients using STARTTLS or no TLS are also exposed because a man-in-the-middle can forge the EHLO reply.
Are clients connecting over implicit TLS affected?
Applications that connect only to a trusted server over implicit TLS are not exposed.
What must an attacker do to trigger the failure?
A malicious server, or a man-in-the-middle able to alter the response, must return an EHLO reply line containing only white space. This causes the client to panic.