GHSA-pmvc-x69f-5p9f: Unbounded buffering of an SMTP reply allows a malicious server to exhaust memory
Published 2026-11-17 · Updated 2026-11-18 · Also known as RUSTSEC-2026-0565
Summary
A vulnerability in the lettre crate allows an SMTP server to cause memory exhaustion through unbounded buffering of reply lines. Applications connecting to untrusted servers or using STARTTLS/no TLS should update.
Who is affected
Clients connecting to malicious, compromised, or man-in-the-middle-controlled servers via STARTTLS, plain text, or untrusted connections are exposed. A server can send an endless reply line to exhaust client memory or spam short lines to consume CPU resources.
Exploitability
The CVSS vector is not provided, EPSS is not yet available, and CISA KEV status is no. No active exploitation is claimed in the provided data.
Remediation
- Upgrade the crates.io lettre package to version 0.11.24 or later.
How to check your project
- Check Cargo.toml and Cargo.lock files to see if the crates.io 'lettre' package falls within the introduced 0.0.0-0, fixed 0.11.24 range.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | lettre |
>= 0.0.0-0, < 0.11.24 | 0.11.24 | cargo update -p lettre --precise 0.11.24 |
FAQ
Which package is affected by this vulnerability?
The crates.io package 'lettre' is affected in versions introduced 0.0.0-0 up to the fixed version 0.11.24.
Are all deployments exposed to this vulnerability?
No. Applications that connect exclusively to a trusted server over implicit TLS are not exposed.
What is the nature of the flaw?
It is an unbounded buffering issue where an SMTP reply line that never ends is continuously buffered by the client until memory runs out.
Original advisory description
References
- PACKAGE https://crates.io/crates/lettre
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0565.html
- WEB https://github.com/lettre/lettre/commit/075849fb9f2c956202aaaf2ff73e41f995d02f35
Source records: RUSTSEC-2026-0565 (OSV.dev).