SEVERITY NOT PROVIDED

RUSTSEC-2026-0564: Panic on a mailbox display name containing CR or LF allows denial of service

Published 2026-11-17 · Updated 2026-11-18

Summary

A panic vulnerability in the lettre crate is triggered when a Mailbox display name contains CR or LF characters during formatting. Engineering teams using lettre for email construction should update their dependencies.

Who is affected

Applications using the lettre crate (versions 0.10.0-rc.5 up to 0.11.23) that process untrusted display names in email headers are vulnerable to denial of service. If an attacker can control a display name, such as a user profile name, formatting the message header will cause a thread or task panic. Applications that strictly use trusted input for display names are not exposed.

Exploitability

The CVSS vector, base score, and EPSS are not documented. CISA KEV active exploitation status is no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io lettre >= 0.10.0-rc.5, < 0.11.24 0.11.24 cargo update -p lettre --precise 0.11.24

FAQ

What causes the panic in lettre?

The panic occurs when a Mailbox display name contains Carriage Return (CR) or Line Feed (LF) characters and is formatted or placed into headers like From or To.

Which versions of the lettre crate are affected?

Versions introduced from 0.10.0-rc.5 up to the fixed version 0.11.24 are affected.

Are applications with trusted display names vulnerable?

No, applications that take display names exclusively from trusted input are not exposed to this vulnerability.

Original advisory description
A `Mailbox` whose display name contains a CR or LF panics when it is formatted or put in a header such as `From` or `To`. Someone who can choose a display name, for example the name of a user a message is sent to, can crash the thread or task building the message. Applications that take display names only from trusted input are not exposed.

References

Source records: RUSTSEC-2026-0564 (OSV.dev).