# GHSA-q3jf-wmp2-47pg: STARTTLS response injection allows a man-in-the-middle to forge SMTP replies

- Severity: Medium 4.8 (CVSS:3.1, scored by RustSec Advisory Database) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-11-17T12:00:00.000Z
- Modified: 2026-11-18T09:15:02.378Z
- Also known as: RUSTSEC-2026-0560

## 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.

(As written by RustSec Advisory Database.)

## Affected

- lettre (crates.io): from 0.0.0-0 before 0.11.24

## References

- <https://crates.io/crates/lettre> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0560.html> (advisory)
- <https://github.com/lettre/lettre/commit/b404122f1b51cdfa32662661849aa3a22e02af38> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0560](https://rustsec.org/advisories/RUSTSEC-2026-0560.html), CC0-1.0, modified 2026-11-18

---

Page: https://cve.day/GHSA-q3jf-wmp2-47pg · Whole record: https://cve.day/GHSA-q3jf-wmp2-47pg.json · Rebuilt by cve.day 2026-11-25T22:56:43.515Z
