Live threats

All CVEs / Aio-libs

CVE-2024-27305Aio-libs Aiosmtpd

Medium 5.3 No auth needed

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.

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

VendorProductVersions
aio-libsaiosmtpd< 1.4.5

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.