{"id":"RUSTSEC-2026-0561","summary":"Missing dot-stuffing after a bare LF or CR allows SMTP command injection","details":"Someone who controls the content of a message with bare LF or CR line endings\ncan end it early with `\\n.\\n` on a server that takes a bare LF for a line\nending. What follows is read by the server as SMTP commands, which can be used\nto send other messages over the same authenticated connection.\n\nThis affects messages passed to `send_raw`, and message bodies that are sent\nwithout being encoded. The LF line endings of a `String` body are converted to\nCRLF before it is sent.","modified":"2026-11-18T09:15:02.375527004Z","published":"2026-11-17T12:00:00Z","related":["RUSTSEC-2021-0069"],"database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/lettre"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0561.html"},{"type":"WEB","url":"https://github.com/lettre/lettre/commit/3d9a6e6a467c6ce00bd39ada6aa1a00e57540a1d"}],"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":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"categories":["format-injection"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0561.json"}}],"schema_version":"1.9.2"}