CVE-2026-53533
published medium CVSS 4.0 · 6.9aiosmtplib: SMTP command injection via CR/LF in sender/recipient address
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cole | — | aiosmtplib< 5.1.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-aiosmtplibaarch64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-aiosmtplibppc64le | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-aiosmtplibs390x | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-aiosmtplibx86_64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-aiosmtplibaarch64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-aiosmtplibppc64le | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-aiosmtplibs390x | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-aiosmtplibx86_64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-aiosmtplibaarch64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-aiosmtplibppc64le | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-aiosmtplibs390x | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-aiosmtplibx86_64 | Advisory build | 5.1.1-1.1 | OPENSUSE-SU-2026:11035-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:H/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cole | aiosmtplib | < 5.1.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
3Provider assertions
2GitHub_M · cna
aiosmtplib: SMTP command injection via CR/LF in sender/recipient address
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 72c1e51d107748c7bb45d24d679233782b0b761bf309b0c8c6a5babd921538af
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record