{"id":"RUSTSEC-2026-0560","aliases":["GHSA-q3jf-wmp2-47pg"],"title":"STARTTLS response injection allows a man-in-the-middle to forge SMTP replies","titleSource":"OSV","descriptionSource":"OSV","description":"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.","severity":"medium","score":4.8,"published":"2026-11-17T12:00:00.000Z","modified":"2026-11-18T09:15:02.378Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"lettre","sources":[{"name":"OSV · RUSTSEC-2026-0560","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0560"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.11.24"}],"type":"SEMVER"}],"versions":[],"fixed":["0.11.24"]}],"sourceAffected":[],"references":["https://crates.io/crates/lettre","https://rustsec.org/advisories/RUSTSEC-2026-0560.html","https://github.com/lettre/lettre/commit/b404122f1b51cdfa32662661849aa3a22e02af38"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0560","modified":"2026-11-18T09:15:02.378427827Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0560"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8}],"products":[],"remediation":[],"observedAt":"2026-11-18T09:27:13.908Z","kev":{"status":"unavailable","checkedAt":"2026-11-29T00:45:31.076Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}