CVE-2026-53533 aiosmtplib: SMTP command injection via CR/LF in sender/recipient address
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/aiosmtplib(Debian 12) | = 2.0.0-1; = 3.0.1-1; = 3.0.2-1; = 3.0.2-2 +11 more | No fix listed | No fix yet |
| debian/aiosmtplib(Debian 13) | = 4.0.0-1; = 4.0.1-1; = 4.0.1-1~exp1; = 4.0.2-1 +7 more | No fix listed | No fix yet |
| ubuntu/aiosmtplib(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/aiosmtplib(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/aiosmtplib(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/aiosmtplib(Debian 14) | < 5.1.2-1; = 4.0.0-1; = 4.0.1-1; = 4.0.1-1~exp1 +5 more | 5.1.2-1 | Fixed |
| pypi aiosmtplib(PyPI) | < 5.1.1; <= 5.1.0; = 0.1; = 0.1.2 +34 more | 5.1.1 | Fixed |
| cole aiosmtplib | = < 5.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi aiosmtplib(PyPI) | < 5.1.1 | 5.1.1 |
| pypi aiosmtplib(PyPI) | = 0.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.3 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.4 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.5rc2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.6 | No fix listed |
| pypi aiosmtplib(PyPI) | = 0.1.7 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.3 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.4 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.5 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.0.6 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.3 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.4 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.5 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.6 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1.7 | No fix listed |
| pypi aiosmtplib(PyPI) | = 1.1b0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 2.0.0 | No fix listed |
Show 52 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi aiosmtplib(PyPI) | = 2.0.0b0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 2.0.0b1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 2.0.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 2.0.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 3.0.0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 3.0.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 3.0.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 4.0.0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 4.0.1 | No fix listed |
| pypi aiosmtplib(PyPI) | = 4.0.2 | No fix listed |
| pypi aiosmtplib(PyPI) | = 5.0.0 | No fix listed |
| pypi aiosmtplib(PyPI) | = 5.1.0 | No fix listed |
| cole aiosmtplib | = < 5.1.1 | No fix listed |
| pypi aiosmtplib(PyPI) | <= 5.1.0 | No fix listed |
| debian/aiosmtplib(Debian:12) | All versions | No fix listed |
| debian/aiosmtplib(Debian:12) | = 2.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 3.0.1-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 3.0.2-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 3.0.2-2 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 4.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 4.0.1-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 4.0.1-1~exp1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 4.0.2-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.1.0-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.1.0-2 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.1.0-3 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.1.2-1 | No fix listed |
| debian/aiosmtplib(Debian:12) | = 5.1.3-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | All versions | No fix listed |
| debian/aiosmtplib(Debian:13) | = 4.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 4.0.1-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 4.0.1-1~exp1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 4.0.2-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.1.0-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.1.0-2 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.1.0-3 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.1.2-1 | No fix listed |
| debian/aiosmtplib(Debian:13) | = 5.1.3-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | < 5.1.2-1 | 5.1.2-1 |
| debian/aiosmtplib(Debian:14) | = 4.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 4.0.1-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 4.0.1-1~exp1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 4.0.2-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 5.0.0-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 5.1.0-1 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 5.1.0-2 | No fix listed |
| debian/aiosmtplib(Debian:14) | = 5.1.0-3 | No fix listed |
| ubuntu/aiosmtplib(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/aiosmtplib(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/aiosmtplib(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/cole/aiosmtplib/security/advisories/GHSA-v3q9-hj7j-63hq vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/cole/aiosmtplib/commit/8eaf6efc9a8f59e2e09d3ef11246a058c46bd3ba
- https://github.com/cole/aiosmtplib/releases/tag/v5.1.1
- Debian Security Tracker CVE-2026-53533 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-61138 third-party-advisory