Skip to main content
VulnerabilityPublished

CVE-2026-55558: cole aiosmtplib · Injection

Affects cole aiosmtplibSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 5.1.2 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.1.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 17 Nov 2026.

What to do

Upgrade cole aiosmtplib to 5.1.2.

Affected software

ProductAffectedFixed in
coleaiosmtplibAffected
  • <5.1.2
Fixed in
  • 5.1.2
PyPIaiosmtplibpkg:pypi/aiosmtplibOther threatsAffected
  • <5.1.2
Fixed in
  • 5.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade aiosmtplib to version 5.1.2 or later, where this vulnerability is fixed. Connections using use_tls=True are not affected by this issue. No other mitigation is indicated by the vendor advisory.

Description

CVE-2026-55558 is a medium severity vulnerability in aiosmtplib, an asynchronous SMTP client. Prior to version 5.1.2, the SMTPProtocol.start_tls method improperly handles the server's 220 response by not clearing an internal buffer before starting the TLS handshake. This allows an active network attacker to inject attacker-controlled SMTP response lines that survive the TLS upgrade, causing desynchronization of SMTP command and response pairs. The issue affects connections using start_tls=True or opportunistic STARTTLS, but not those using use_tls=True. The vulnerability is fixed in version 5.1.2.

References

Community reviews

Loading reviews…