<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Sql-Injection on kalfaoglu.net</title><link>https://blog.kalfaoglu.net/tags/sql-injection/</link><description>Recent content in Sql-Injection on kalfaoglu.net</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 13 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.kalfaoglu.net/tags/sql-injection/index.xml" rel="self" type="application/rss+xml"/><item><title>Dovecot CVE-2026-40018: MySQL Escaping Bug Opens the Door to SQL Injection</title><link>https://blog.kalfaoglu.net/posts/2026-10-13-dovecot-cve-2026-40018-mysql-injection-en/</link><pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate><guid>https://blog.kalfaoglu.net/posts/2026-10-13-dovecot-cve-2026-40018-mysql-injection-en/</guid><description>&lt;p&gt;Dovecot&amp;rsquo;s security page quietly listed a new high-severity advisory on August 28, 2026. The major Linux distributions took about six weeks to ship patched packages, and Red Hat&amp;rsquo;s advisory for RHEL 10 landed on &lt;a href="https://vulners.com/redhat/RHSA-2026:79371-CVE-2026-40018"&gt;October 8, 2026&lt;/a&gt;. If you run Dovecot against a MySQL or MariaDB backend and haven&amp;rsquo;t updated recently, read on.&lt;/p&gt;
&lt;h2 id="what-the-bug-is"&gt;What the Bug Is&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://app.opencve.io/cve/CVE-2026-40018"&gt;CVE-2026-40018&lt;/a&gt; is an SQL injection flaw (CWE-89) in Dovecot&amp;rsquo;s MySQL driver. The escaping function that sanitizes SQL query parameters falls back to a charset-unaware escape call when the SQL connection drops and reconnects under specific multi-byte character sequences. An attacker who can supply crafted input at the right moment — say, through a malformed username or password string — can break out of the expected SQL context and either read sensitive data or modify it.&lt;/p&gt;</description></item></channel></rss>