Debian Package Tracker
Register | Log in
Subscribe

aiosmtplib

Choose email to subscribe with

general
  • source: aiosmtplib (main)
  • version: 5.1.2-1
  • maintainer: Debian Python Team (DMD)
  • uploaders: Pierre-Elliott Bécue [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 2.0.0-1
  • stable: 4.0.0-1
  • testing: 5.1.2-1
  • unstable: 5.1.2-1
versioned links
  • 2.0.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 4.0.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 5.1.2-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python3-aiosmtplib
  • python3-aiosmtplib-doc
action needed
Marked for autoremoval on 19 September due to ipywidgets, python-libcst, towncrier: #1143428, #1144575, #1144936 high
Version 5.1.2-1 of aiosmtplib is marked for autoremoval from testing on Sat 19 Sep 2026. It depends (transitively) on ipywidgets, python-libcst, towncrier, affected by #1143428, #1144575, #1144936. You should try to prevent the removal by fixing these RC bugs.
Created: 2026-08-01 Last update: 2026-08-30 16:32
2 security issues in bookworm high

There are 2 open security issues in bookworm.

2 important issues:
  • 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.
  • CVE-2026-55558: aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.2, SMTPProtocol.start_tls in src/aiosmtplib/protocol.py consumes the server's 220 response and starts the TLS handshake without clearing SMTPProtocol._buffer. An active network attacker can place attacker-chosen SMTP response lines after the plaintext 220 response in the same network segment. The method then calls loop.start_tls; those bytes survive the transport upgrade and are parsed as the first response from inside the TLS session, desynchronizing subsequent SMTP command and response pairs. Connections using start_tls=True or opportunistic STARTTLS are affected, while connections using use_tls=True are not. This issue is fixed in version 5.1.2.
Created: 2026-08-21 Last update: 2026-08-24 11:30
2 low-priority security issues in trixie low

There are 2 open security issues in trixie.

2 issues left for the package maintainer to handle:
  • CVE-2026-53533: (needs triaging) 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.
  • CVE-2026-55558: (needs triaging) aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.2, SMTPProtocol.start_tls in src/aiosmtplib/protocol.py consumes the server's 220 response and starts the TLS handshake without clearing SMTPProtocol._buffer. An active network attacker can place attacker-chosen SMTP response lines after the plaintext 220 response in the same network segment. The method then calls loop.start_tls; those bytes survive the transport upgrade and are parsed as the first response from inside the TLS session, desynchronizing subsequent SMTP command and response pairs. Connections using start_tls=True or opportunistic STARTTLS are affected, while connections using use_tls=True are not. This issue is fixed in version 5.1.2.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-08-21 Last update: 2026-08-24 11:30
news
[rss feed]
  • [2026-07-29] aiosmtplib 5.1.2-1 MIGRATED to testing (Debian testing watch)
  • [2026-07-24] Accepted aiosmtplib 5.1.2-1 (source) into unstable (Pierre-Elliott Bécue)
  • [2026-03-24] aiosmtplib 5.1.0-3 MIGRATED to testing (Debian testing watch)
  • [2026-03-21] Accepted aiosmtplib 5.1.0-3 (source) into unstable (Pierre-Elliott Bécue)
  • [2026-03-21] aiosmtplib 5.1.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-03-18] Accepted aiosmtplib 5.1.0-2 (source) into unstable (Pierre-Elliott Bécue)
  • [2026-02-19] aiosmtplib 5.1.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-16] Accepted aiosmtplib 5.1.0-1 (source) into unstable (Colin Watson)
  • [2025-12-03] aiosmtplib 5.0.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-12-01] Accepted aiosmtplib 5.0.0-1 (source) into unstable (Colin Watson)
  • [2025-09-19] aiosmtplib 4.0.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-19] aiosmtplib 4.0.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-19] aiosmtplib 4.0.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-17] Accepted aiosmtplib 4.0.2-1 (source) into unstable (Colin Watson)
  • [2025-08-18] aiosmtplib 4.0.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-08-14] Accepted aiosmtplib 4.0.1-1 (source) into unstable (Colin Watson)
  • [2025-07-29] Accepted aiosmtplib 4.0.1-1~exp1 (source) into experimental (IanLucca) (signed by: Samuel Henrique)
  • [2025-04-07] aiosmtplib 4.0.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-04-04] Accepted aiosmtplib 4.0.0-1 (source) into unstable (Pierre-Elliott Bécue)
  • [2025-02-10] aiosmtplib 3.0.2-2 MIGRATED to testing (Debian testing watch)
  • [2025-02-07] Accepted aiosmtplib 3.0.2-2 (source) into unstable (Alexandre Detiste)
  • [2024-08-26] aiosmtplib 3.0.2-1 MIGRATED to testing (Debian testing watch)
  • [2024-08-23] Accepted aiosmtplib 3.0.2-1 (source) into unstable (Pierre-Elliott Bécue)
  • [2024-02-13] aiosmtplib 3.0.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-02-13] aiosmtplib 3.0.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-01-26] aiosmtplib REMOVED from testing (Debian testing watch)
  • [2024-01-03] aiosmtplib 3.0.1-1 MIGRATED to testing (Debian testing watch)
  • [2023-12-31] Accepted aiosmtplib 3.0.1-1 (source) into unstable (Dale Richards) (signed by: Stefano Rivera)
  • [2023-12-26] aiosmtplib REMOVED from testing (Debian testing watch)
  • [2022-12-25] aiosmtplib 2.0.0-1 MIGRATED to testing (Debian testing watch)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 5.1.2-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing