ADVISORIES

Vulnerability

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 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.

9 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-fh75-w96q-cqfm
    CVE-2026-53533 Chainguard Updated 5 November 2026
  • CGA-q38x-fjv4-44fx
    CVE-2026-53533 Chainguard Updated 5 November 2026
  • CGA-xghv-hq6w-hhp3
    CVE-2026-53533 Chainguard Updated 5 November 2026
  • CGA-xx4f-3vcc-ph5j
    CVE-2026-53533 Chainguard Updated 5 November 2026
  • DEBIAN-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 LF bytes. Data after…

    CVE-2026-53533 Debian Updated 23 October 2026
  • GHSA-v3q9-hj7j-63hq

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

    Moderate CVE-2026-53533 PyPI Updated 10 September 2026
  • PYSEC-2026-2338

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

    CVE-2026-53533 PyPI Updated 13 July 2026
  • UBUNTU-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 LF bytes. Data after…

    CVE-2026-53533 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11035-1

    python311-aiosmtplib-5.1.1-1.1 on GA media

    CVE-2026-53533 openSUSE Updated 16 June 2026

References