# CVE-2024-27305: SMTP smuggling in aiosmtpd

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2024-03-12T20:29:54.592Z
- Modified: 2026-06-17T07:19:36.810Z
- Also known as: GHSA-pr2m-px7j-xg65, PYSEC-2024-221
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- aio-libs aiosmtpd: < 1.4.5; before 1.4.5
- aiosmtpd (PyPI): before 1.4.5; before 24b6c79c8921cf1800e27ca144f4f37023982bbb

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-pr2m-px7j-xg65> (advisory, vendor-advisory, web)
- <https://github.com/aio-libs/aiosmtpd/commit/24b6c79c8921cf1800e27ca144f4f37023982bbb> (fix, patch, web)
- <https://www.postfix.org/smtp-smuggling.html> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27305> (advisory)
- <https://github.com/aio-libs/aiosmtpd> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/aiosmtpd/PYSEC-2024-221.yaml> (web)
- <https://github.com/advisories/GHSA-pr2m-px7j-xg65> (advisory)

## Sources

- CVE List: [CVE-2024-27305](https://www.cve.org/CVERecord?id=CVE-2024-27305), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-pr2m-px7j-xg65](https://github.com/advisories/GHSA-pr2m-px7j-xg65), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2024-27305](https://nvd.nist.gov/vuln/detail/CVE-2024-27305), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-221](https://osv.dev/vulnerability/PYSEC-2024-221), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-27305 · Whole record: https://cve.day/CVE-2024-27305.json · Rebuilt by cve.day 2026-11-25T22:58:37.477Z
