Live threats

All CVEs / aio-libs

CVE-2024-34083aio-libs aiosmtpd

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
0.3%
probability of exploitation in 30 days · percentile 17
Auth required
No
Published
May 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-349
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

aiosmptd is a reimplementation of the Python stdlib smtpd.py based on asyncio. Prior to version 1.4.6, servers based on aiosmtpd accept extra unencrypted commands after STARTTLS, treating them as if they came from inside the encrypted connection. This could be exploited by a man-in-the-middle attack. Version 1.4.6 contains a patch for the issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for aiosmtpd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI aiosmtpd < 1.4.6 1.4.6 pip install "aiosmtpd>=1.4.6"
PyPI aiosmtpd < 1.4.6 1.4.6 pip install "aiosmtpd>=1.4.6"

Per OSV / GitHub Advisories (GHSA-wgjv-9j3q-jhg8, PYSEC-2026-1111). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.