<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 08:42:37 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-41319</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-41319</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-41319</guid>
    </item>
    <item>
      <title>GHSA-9j88-vvj5-vhgr — MailKit has STARTTLS Response Injection via unflushed stream buffer that enables SASL mechanism downgrade</title>
      <link>https://db.gcve.eu/vuln/ghsa-9j88-vvj5-vhgr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; NuGet: MailKit&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;A STARTTLS Response Injection vulnerability in MailKit 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. This is the same vulnerability class as CVE-2021-23993 (Thunderbird), CVE-2021-33515 (Dovecot), and CVE-2011-0411 (Postfix).&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The `Stream` property in `SmtpStream` (line 84-86), `ImapStream`, and `Pop3Stream` is a simple auto-property with no buffer reset:&lt;/p&gt;
&lt;p&gt;```csharp
public Stream Stream {
    get; internal set;  // ← No buffer reset on set!
}
```&lt;/p&gt;
&lt;p&gt;During the STARTTLS upgrade in `SmtpClient.cs` (lines 1372-1389):&lt;/p&gt;
&lt;p&gt;```csharp
// Reads STARTTLS response — &amp;#34;220 Ready&amp;#34; consumed, any extra data stays in buffer
response = Stream.SendCommand(&amp;#34;STARTTLS\r\n&amp;#34;, cancellationToken);&lt;/p&gt;
&lt;p&gt;// Swaps to TLS — buffer NOT flushed!
var tls = new SslStream(stream, false, ValidateRemoteCertificate);
Stream.Stream = tls;
SslHandshake(tls, host, cancellationToken);&lt;/p&gt;
&lt;p&gt;// Reads EHLO response — processes INJECTED pre-TLS data from buffer first!
Ehlo(true, cancellationToken);
```&lt;/p&gt;
&lt;p&gt;A MitM appends extra data after the `&amp;#34;220 Ready\r\n&amp;#34;` STARTTLS response. Both arrive in…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; NuGet: MailKit&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;A STARTTLS Response Injection vulnerability in MailKit 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. This is the same vulnerability class as CVE-2021-23993 (Thunderbird), CVE-2021-33515 (Dovecot), and CVE-2011-0411 (Postfix).&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The `Stream` property in `SmtpStream` (line 84-86), `ImapStream`, and `Pop3Stream` is a simple auto-property with no buffer reset:&lt;/p&gt;
&lt;p&gt;```csharp
public Stream Stream {
    get; internal set;  // ← No buffer reset on set!
}
```&lt;/p&gt;
&lt;p&gt;During the STARTTLS upgrade in `SmtpClient.cs` (lines 1372-1389):&lt;/p&gt;
&lt;p&gt;```csharp
// Reads STARTTLS response — &amp;#34;220 Ready&amp;#34; consumed, any extra data stays in buffer
response = Stream.SendCommand(&amp;#34;STARTTLS\r\n&amp;#34;, cancellationToken);&lt;/p&gt;
&lt;p&gt;// Swaps to TLS — buffer NOT flushed!
var tls = new SslStream(stream, false, ValidateRemoteCertificate);
Stream.Stream = tls;
SslHandshake(tls, host, cancellationToken);&lt;/p&gt;
&lt;p&gt;// Reads EHLO response — processes INJECTED pre-TLS data from buffer first!
Ehlo(true, cancellationToken);
```&lt;/p&gt;
&lt;p&gt;A MitM appends extra data after the `&amp;#34;220 Ready\r\n&amp;#34;` STARTTLS response. Both arrive in…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-9j88-vvj5-vhgr</guid>
    </item>
  </channel>
</rss>
