CVE catalog

CVE-2026-53533

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 L

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianaiosmtplibsid5.1.3-1fixed
Debianaiosmtplibforky5.1.3-1fixed
Debianaiosmtplibtrixie4.0.0-1vulnerable
Debianaiosmtplibbookworm2.0.0-1vulnerable
Opensusepython-aiosmtplibtumbleweed5.1.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianaiosmtplibsourcesid5.1.2-1not yet assignedNot reportedNot reported
Debianaiosmtplibsourceforky5.1.2-1not yet assignedNot reportedNot reported
Debianaiosmtplibsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianaiosmtplibsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Opensusepython-aiosmtplibrpmtumbleweed5.1.1-1.1Not reportedOPENSUSE-SU-2026:11035-1Not reported

Notes

[trixie] aiosmtplib: Minor issue [bookworm] aiosmtplib: Minor issue; can be fixed with next update

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [aiosmtplib]

    Details (2)
    • 2.0.0-1 · all · bookworm

      Affected

      nvd · aiosmtplib · debian · bookworm; nvd · aiosmtplib · debian · 12

    • 2.0.0-1 · all · bookworm

      Affected

      nvd · aiosmtplib · debian · bookworm; nvd · aiosmtplib · debian · 12

  • Source package: [aiosmtplib]

    Details (2)
    • 2.0.0-1 · all · bookworm

      Affected

      nvd · aiosmtplib · debian · bookworm; nvd · aiosmtplib · debian · 12

    • 2.0.0-1 · all · bookworm

      Affected

      nvd · aiosmtplib · debian · bookworm; nvd · aiosmtplib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [aiosmtplib]

    Details (2)
    • 4.0.0-1 · all · trixie

      Affected

      nvd · aiosmtplib · debian · 13

    • 4.0.0-1 · all · trixie

      Affected

      nvd · aiosmtplib · debian · 13

  • Source package: [aiosmtplib]

    Details (2)
    • 4.0.0-1 · all · trixie

      Affected

      nvd · aiosmtplib · debian · 13

    • 4.0.0-1 · all · trixie

      Affected

      nvd · aiosmtplib · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-aiosmtplib]

    Details (1)
    • 5.1.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 5.1.1-1.1

      Version impact unknown

      nvd · python-aiosmtplib · opensuse · tumbleweed

  • Source package: [python-aiosmtplib]

    Details (1)
    • 5.1.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 5.1.1-1.1

      Version impact unknown

      nvd · python-aiosmtplib · opensuse · tumbleweed

Observed:

References