RUSTSEC-2026-0561
not scored yetMissing dot-stuffing after a bare LF or CR allows SMTP command injection
Someone who controls the content of a message with bare LF or CR line endings
can end it early with \n.\n on a server that takes a bare LF for a line
ending. What follows is read by the server as SMTP commands, which can be used
to send other messages over the same authenticated connection.
This affects messages passed to send_raw, and message bodies that are sent
without being encoded. The LF line endings of a String body are converted to
CRLF before it is sent.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | lettre | >= 0.0.0-0, < 0.11.24 | 0.11.24 |
References
- https://crates.io/crates/lettre · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0561.html · ADVISORY
- https://github.com/lettre/lettre/commit/3d9a6e6a467c6ce00bd39ada6aa1a00e57540a1d · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Nov 2026)