SMTP Protocol Vulnerability in aiosmtplib by Cole
CVE-2026-55558

5.9MEDIUM

Key Information:

Vendor

Cole

Vendor
CVE Published:
20 August 2026

What is CVE-2026-55558?

The aiosmtplib library, an asynchronous SMTP client, is susceptible to a vulnerability where the SMTPProtocol.start_tls method improperly handles the server's initial 220 response. This flaw allows an active attacker on the same network segment to inject precise SMTP responses that disrupt the expected sequence of commands and responses during the TLS handshaking process. Specifically, when using start_tls=True or opportunistic STARTTLS, these injected responses can be misinterpreted within a secure TLS session, leading to potential manipulation of email communication. The vulnerability has been addressed in version 5.1.2 of aiosmtplib.

Affected Version(s)

aiosmtplib < 5.1.2

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.