The lettre library prior to version 0.11.24 contains a vulnerability where a malicious or compromised SMTP server can send an unbounded reply line, causing the client to buffer data until memory exhaustion occurs. Additionally, replies composed of many short lines can keep a CPU core busy for extended periods. This affects clients connecting to untrusted servers or using STARTTLS or no TLS, while clients connecting only to trusted servers over implicit TLS are not exposed.