SEVERITY NOT PROVIDED

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

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.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
A malicious or compromised server can send a reply line that never ends, which the client buffers until memory runs out. A reply made of many short lines also keeps a CPU core busy: for a few seconds per reply since 0.11.22, for as long as the server wants before it. Applications that connect only to a trusted server over implicit TLS are not exposed; the risk applies to clients that may connect to untrusted servers, or that use `STARTTLS` or no TLS, where a man-in-the-middle can forge the reply.

References

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