Skip to main content
VulnerabilityPublished

Lettre: STARTTLS response injection allows a man-in-the-middle to forge SMTP replies

Affects lettreSource GCVE Database

0

CVSS 4.8 Medium : upgrade to 0.11.24 when convenient.

Data as of 18 Nov 2026, 09:53 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.11.24
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

What to do

Upgrade lettre to 0.11.24.

Affected software

ProductAffectedFixed in
crates.iolettrepkg:cargo/lettreOther threatsAffected
  • >=0.0.0-0 <0.11.24
Fixed in
  • 0.11.24

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. Since a patch is available and the fixed version is explicitly stated, applying this official fix is the recommended mitigation.

Description

The Lettre library versions before 0.11.24 have a vulnerability in their STARTTLS implementation that allows a man-in-the-middle attacker to inject forged SMTP replies. This occurs because the attacker can append their own replies to the cleartext STARTTLS response, which the client then mistakenly treats as legitimate server responses after the TLS upgrade. This affects only connections upgraded with STARTTLS, not implicit TLS connections.

References

Community reviews

Loading reviews…