Lettre: Missing dot-stuffing after a bare LF or CR allows SMTP command injection
Affects lettreSource GCVE Database
Rated High by Threat Radar's AI analysis
- Patch
- Available – fixed in 0.11.24
Data as of 18 Nov 2026, 09:53 UTC
What to do
Upgrade lettre to 0.11.24.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iolettrepkg:cargo/lettreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to lettre version 0.11.24 or later, where this vulnerability is fixed. Applying this official fix prevents SMTP command injection by properly handling dot-stuffing after bare LF or CR line endings. No other mitigation is required once the patch is applied.
Description
A vulnerability in the lettre Rust library allows SMTP command injection when message content contains bare LF or CR line endings without proper dot-stuffing. An attacker controlling such message content can prematurely terminate the message and inject SMTP commands, potentially sending unauthorized messages over the same authenticated SMTP connection. This affects messages passed to the send_raw function and unencoded message bodies. The issue is fixed in version 0.11.24.