CVE-2024-34083aio-libs aiosmtpd
Medium 5.4 No auth needed
Follow: this CVE · aio-libs · aio-libs aiosmtpd We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for aiosmtpd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- aio-libs · aiosmtpd
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-aiosmtpd-1.4.6-6.1 on GA media · SUSE · openSUSE-SU-2026:11675-1 · Sep 2, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.