CVE-2024-27305Aio-libs Aiosmtpd
Medium 5.3 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.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 31
- Auth required
- No
- Published
- Mar 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
aiosmtpd is a reimplementation of the Python stdlib smtpd.py based on asyncio. aiosmtpd is vulnerable to inbound SMTP smuggling. SMTP smuggling is a novel vulnerability based on not so novel interpretation differences of the SMTP protocol. By exploiting SMTP smuggling, an attacker may send smuggle/spoof e-mails with fake sender addresses, allowing advanced phishing attacks. This issue is also existed in other SMTP software like Postfix. With the right SMTP server constellation, an attacker can send spoofed e-mails to inbound/receiving aiosmtpd instances. This issue has been addressed in version 1.4.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
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.5 |
1.4.5 |
pip install "aiosmtpd>=1.4.5" |
| PyPI | aiosmtpd |
< 1.4.5 |
1.4.5 |
pip install "aiosmtpd>=1.4.5" |
Per OSV / GitHub Advisories (GHSA-pr2m-px7j-xg65, PYSEC-2024-221). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| aio-libs | aiosmtpd | < 1.4.5 |
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.
- github.com Patch
- github.com Vendor Advisory
- www.postfix.org Product