CVE-2026-41319

MEDIUM CVSS 3.1: 5.9 EPSS 0.23%
Updated Oct 27, 2026
Jstedfast
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions before 4.16.0
Fixed In 4.16.0
Type CWE-74 (Injection)
Vendor Jstedfast
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Jstedfast Mailkit
cpe:2.3:a:jstedfast:mailkit:*:*:*:*:*:*:*:*
— 4.16.0