CVE-2026-41319
Last modified
CVE-2026-41319 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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). EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jstedfast | Mailkit | < 4.16.0 |
References
- https://github.com/jstedfast/MailKit/security/advisories/GHSA-9j88-vvj5-vhgrExploit, Vendor Advisory
- https://github.com/jstedfast/MailKit/security/advisories/GHSA-9j88-vvj5-vhgrExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41319?
How severe is CVE-2026-41319?
How do I fix CVE-2026-41319?
Are you affected by CVE-2026-41319?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
