RUSTSEC-2026-0561

Source
https://rustsec.org/advisories/RUSTSEC-2026-0561
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0561.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0561
Related
Published
2026-11-17T12:00:00Z
Modified
2026-11-18T09:15:02Z
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 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.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / lettre

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.11.24

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [],
        "os":  []
    }
}

Database specific

categories
[
    "format-injection"
]
cvss
null
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0561.json"