CVE-2024-27305: Python aiosmtpd · aiosmtpd is a reimplementation of the Python stdlib smtpd.py based on asyncio
Affects python-aiosmtpdSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 24 Nov 2026, 19:26 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython-aiosmtpdpkg:deb/ubuntu/python-aiosmtpd?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-27305 (opens in a new tab)
- github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65 (opens in a new tab)
- github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb (opens in a new tab)
- postfix.org/smtp-smuggling.html (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27305 (opens in a new tab)