# RUSTSEC-2026-0561: Missing dot-stuffing after a bare LF or CR allows SMTP command injection

- Severity: not scored yet
- 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.375Z
- Related: RUSTSEC-2021-0069

## Description

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.

(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-0561.html> (advisory)
- <https://github.com/lettre/lettre/commit/3d9a6e6a467c6ce00bd39ada6aa1a00e57540a1d> (web)

## Sources

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

---

Page: https://cve.day/RUSTSEC-2026-0561 · Whole record: https://cve.day/RUSTSEC-2026-0561.json · Rebuilt by cve.day 2026-11-25T22:56:43.515Z
