Skip to content

RUSTSEC-2026-0560 STARTTLS response injection allows a man-in-the-middle to forge SMTP replies

MediumCVSS 4.8
Published
Updated
Exploit status
No public exploit known

Description

A man-in-the-middle can append replies of their own to the cleartext reply to
STARTTLS. The client takes them for the server's replies to the commands it
then sends over TLS, so the attacker can, for example, make a message that the
server rejected look accepted.

Only connections upgraded with STARTTLS are affected (Tls::Required and
Tls::Opportunistic, as set up by starttls_relay). Implicit TLS
(Tls::Wrapper, as set up by relay) is not.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io lettre(crates.io) >= 0.0.0-0, < 0.11.24 0.11.24 Fixed

Affected products

ProductAffected versionsFixed in
crates.io lettre(crates.io) >= 0.0.0-0, < 0.11.24 0.11.24

References