RUSTSEC-2026-0561

published 17 Nov 2026 · updated 18 Nov 2026

Missing dot-stuffing after a bare LF or CR allows SMTP command injection

5.0Medium

No exploitation in the wild has been reported. Fixed in lettre 0.11.24.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cargo: lettre>=0.0.0-0 <0.11.240.11.24

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in lettre (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

RUSTSEC-2026-0561 severity on Zeptric[![RUSTSEC-2026-0561](https://zeptric.io/badge/cve/RUSTSEC-2026-0561.svg)](https://zeptric.io/cve/RUSTSEC-2026-0561)