๐Ÿ” CVE Alert

CVE-2026-53533

UNKNOWN 0.0

aiosmtplib: SMTP command injection via CR/LF in sender/recipient address

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-77 CWE-93
Vendor cole
Product aiosmtplib
Published Aug 18, 2026
Stay Ahead of the Next One

Get instant alerts for cole aiosmtplib

Be the first to know when new unknown vulnerabilities affecting cole aiosmtplib are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

cole / aiosmtplib
< 5.1.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/cole/aiosmtplib/security/advisories/GHSA-v3q9-hj7j-63hq github.com: https://github.com/cole/aiosmtplib/commit/8eaf6efc9a8f59e2e09d3ef11246a058c46bd3ba github.com: https://github.com/cole/aiosmtplib/releases/tag/v5.1.1