# CVE-2024-34083: STARTTLS unencrypted commands injection

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-18T18:12:19.442Z
- Modified: 2026-07-07T17:56:11.074Z
- Also known as: GHSA-wgjv-9j3q-jhg8, PYSEC-2026-1111
- Weaknesses: CWE-349
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

aiosmptd is  a reimplementation of the Python stdlib smtpd.py based on asyncio. Prior to version 1.4.6, servers based on aiosmtpd accept extra unencrypted commands after STARTTLS, treating them as if they came from inside the encrypted connection. This could be exploited by a man-in-the-middle attack. Version 1.4.6 contains a patch for the issue.

(As written by CVE List.)

## Affected

- aio-libs aiosmtpd: < 1.4.6; before 1.4.6
- aiosmtpd (PyPI): before 1.4.6

## Every score

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

## References

- <https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8> (web)
- <https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda> (web)
- <https://nostarttls.secvuln.info> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34083> (advisory)
- <https://github.com/aio-libs/aiosmtpd> (package)
- <https://pypi.org/project/aiosmtpd> (package)
- <https://github.com/advisories/GHSA-wgjv-9j3q-jhg8> (advisory)

## Sources

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

---

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