{"id":"RUSTSEC-2026-0565","summary":"Unbounded buffering of an SMTP reply allows a malicious server to exhaust memory","details":"A malicious or compromised server can send a reply line that never ends, which\nthe client buffers until memory runs out. A reply made of many short lines also\nkeeps a CPU core busy: for a few seconds per reply since 0.11.22, for as long\nas the server wants before it.\n\nApplications that connect only to a trusted server over implicit TLS are not\nexposed; the risk applies to clients that may connect to untrusted servers, or\nthat use `STARTTLS` or no TLS, where a man-in-the-middle can forge the reply.","aliases":["GHSA-pmvc-x69f-5p9f"],"modified":"2026-11-18T09:15:02.379894916Z","published":"2026-11-17T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/lettre"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0565.html"},{"type":"WEB","url":"https://github.com/lettre/lettre/commit/075849fb9f2c956202aaaf2ff73e41f995d02f35"}],"affected":[{"package":{"name":"lettre","ecosystem":"crates.io","purl":"pkg:cargo/lettre"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.11.24"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0565.json","informational":null,"categories":["denial-of-service"]}}],"schema_version":"1.9.2"}