CVE-2026-41319

Medium

Description

MailKit is a cross-platform mail client library built on top of MimeKit. A STARTTLS Response Injection vulnerability in versions prior to 4.16.0 allows a Man-in-the-Middle attacker to inject arbitrary protocol responses across the plaintext-to-TLS trust boundary, enabling SASL authentication mechanism downgrade (e.g., forcing PLAIN instead of SCRAM-SHA-256). The internal read buffer in `SmtpStream`, `ImapStream`, and `Pop3Stream` is not flushed when the underlying stream is replaced with `SslStream` during STARTTLS upgrade, causing pre-TLS attacker-injected data to be processed as trusted post-TLS responses. Version 4.16.0 patches the issue.

SeverityMedium
CVSS6.5
Exploit probability—
ProductJstedfast Mailkit
PublishedApr 24, 2026
First seenApr 24, 2026
Weakness typeCWE-74Injection

How to fix

Update
  • jstedfast mailkit4.16.0 or later
  • MailKit4.16.0 or later

Affected products

ProductAffected versionsFixed in
jstedfast mailkitv < 4.16.04.16.0
MailKitNuGetv < 4.16.04.16.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.