{"schema_version":"1.9.2","id":"RUSTSEC-2026-0560","published":"2026-11-17T12:00:00Z","modified":"2026-11-18T09:15:02.378427827Z","aliases":["GHSA-q3jf-wmp2-47pg"],"summary":"STARTTLS response injection allows a man-in-the-middle to forge SMTP replies","details":"A man-in-the-middle can append replies of their own to the cleartext reply to\n`STARTTLS`. The client takes them for the server's replies to the commands it\nthen sends over TLS, so the attacker can, for example, make a message that the\nserver rejected look accepted.\n\nOnly connections upgraded with `STARTTLS` are affected (`Tls::Required` and\n`Tls::Opportunistic`, as set up by `starttls_relay`). Implicit TLS\n(`Tls::Wrapper`, as set up by `relay`) is not.","affected":[{"package":{"name":"lettre","ecosystem":"crates.io","purl":"pkg:cargo/lettre"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.11.24"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["crypto-failure"],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0560.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/lettre"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0560.html"},{"type":"WEB","url":"https://github.com/lettre/lettre/commit/b404122f1b51cdfa32662661849aa3a22e02af38"}],"database_specific":{"license":"CC0-1.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}