CVE-2026-53533
Description
aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.1, SMTP.mail(), SMTP.rcpt(), SMTP.vrfy(), and SMTP.expn() send caller-supplied addresses without rejecting embedded CR or LF bytes. Data after the line break is framed as additional standalone SMTP command lines, allowing an attacker who influences an envelope sender or recipient to inject commands such as MAIL FROM, RCPT TO, RSET, DATA, or AUTH. SMTP.sendmail() and SMTP.send() without a Message object pass addresses through the affected methods, while SMTP.send_message() is not affected. Successful injection can desynchronize the command-response pipeline, hang the SMTP instance, or send an arbitrary message without requiring attacker control of the SMTP server. This issue is fixed in version 5.1.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
aiosmtplibPyPI | < 5.1.1 | 5.1.1 |
Affected products
4- Range: <5.1.1
- osv-coords3 versionspkg:rpm/opensuse/python-aiosmtplib&distro=openSUSE%20Tumbleweedpkg:apk/chainguard/airflow-core-2pkg:apk/chainguard/airflow-2
< 5.1.1-1.1+ 2 more
- (no CPE)range: < 5.1.1-1.1
- (no CPE)range: < 2.11.2-r6
- (no CPE)range: < 2.11.2-r18
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.