# CVE-2024-27305: SMTP smuggling in aiosmtpd

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-12 · Modified: 2024-08-02
- Aliases: GHSA-pr2m-px7j-xg65, PYSEC-2024-221, UBUNTU-CVE-2024-27305, DEBIAN-CVE-2024-27305
- Record: https://cvemate.com/vulnerability/CVE-2024-27305 · JSON: https://cvemate.com/vulnerability/CVE-2024-27305/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.371%, percentile 33.057%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aio-libs aiosmtpd: \< 1.4.5
- debian python-aiosmtpd (Debian): \< 1.4.3-1.1+deb12u1 \| \< 1.4.6-1
- ubuntu python-aiosmtpd (Ubuntu): All versions (No fix recorded)
- PyPI aiosmtpd (PyPI): \< 24b6c79c8921cf1800e27ca144f4f37023982bbb \| \< 1.4.5

## References

- <https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65>
- <https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb>
- <https://www.postfix.org/smtp-smuggling.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27305>
- <https://github.com/aio-libs/aiosmtpd>
- <https://github.com/pypa/advisory-database/tree/main/vulns/aiosmtpd/PYSEC-2024-221.yaml>
- <https://github.com/advisories/GHSA-pr2m-px7j-xg65>
- <https://ubuntu.com/security/CVE-2024-27305>
- <https://www.cve.org/CVERecord?id=CVE-2024-27305>
- <https://security-tracker.debian.org/tracker/CVE-2024-27305>

---

Data as of 2026-12-05T08:40:54.621Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
