CVE-2026-41319
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.
Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-04-25 |
Timeline
- 2026-04-18GitHub advisory published (GHSA-9j88-vvj5-vhgr)6 days before publication
- 2026-04-24Published by the CNA03:07 UTC
- 2026-04-25CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-9j88-vvj5-vhgr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| NuGet MailKit | before 4.16.0 | 4.16.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jstedfast mailkit | before 4.16.0fixed in 4.16.0 | 4.16.0 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41319'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41319'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41319'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41319'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).