GHSA-q3jf-wmp2-47pg

GHSA-q3jf-wmp2-47pg · RUSTSEC-2026-0560 · published 17 Nov 2026 · updated 18 Nov 2026

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

5.0Medium

No exploitation in the wild has been reported. Fixed in lettre 0.11.24.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cargo: lettre>=0.0.0-0 <0.11.240.11.24

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in lettre (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

GHSA-q3jf-wmp2-47pg severity on Zeptric[![GHSA-q3jf-wmp2-47pg](https://zeptric.io/badge/cve/GHSA-q3jf-wmp2-47pg.svg)](https://zeptric.io/cve/GHSA-q3jf-wmp2-47pg)