Patch Your Stack: MariaDB and Dovecot Both Have Security Fixes Waiting

If you run MariaDB or Dovecot — and if you host anything resembling a mail server backed by a database, you almost certainly do — there are security advisories from the past few weeks that should already be applied. If they are not, this is your reminder. MariaDB: Four CVEs, One with Potential Remote Code Execution On September 7, 2026, MariaDB published advisories covering four CVEs affecting every major supported branch. None are rated Critical, but three score in the 8.0–8.5 High range, which is close enough to warrant attention. ...

October 18, 2026 · 4 min

Dovecot CVE-2026-40018: MySQL Escaping Bug Opens the Door to SQL Injection

Dovecot’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’s advisory for RHEL 10 landed on October 8, 2026. If you run Dovecot against a MySQL or MariaDB backend and haven’t updated recently, read on. What the Bug Is CVE-2026-40018 is an SQL injection flaw (CWE-89) in Dovecot’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. ...

October 13, 2026 · 4 min

Dovecot 2.4.4 Patches Five Vulnerabilities — Update Now

On 5 May 2026, the Dovecot team published security advisory OXDC-2026-0002, covering five vulnerabilities fixed in OX Dovecot CE 2.4.4 (and Pro 3.1.5). If you are running Dovecot CE 2.4.3 or earlier, this is your prompt to upgrade. What’s in the advisory CVE-2026-27851 — SQL/LDAP injection via variable expansion (CVSS 7.4) The most serious of the five. When the safe filter is used in Dovecot’s variable expansion (lib-var-expand), it incorrectly treats all subsequent pipelines on the same string as safe too. The result: attacker-controlled data can bypass escaping and land unmodified in SQL or LDAP queries used for authentication. No public exploit exists yet, but CVSS 7.4 with a network attack vector and no required privileges is not something to sit on. If you cannot upgrade immediately, the workaround is to avoid the safe filter in your configuration until you can. ...

May 29, 2026 · 3 min

Eight CVEs, One IMAP Server: Patching the Dovecot Security Bundle

In late March, the Dovecot team published advisory OXDC-ADV-2026-0001 — a bundle of eight CVEs covering everything from pre-authentication path traversal to SQL injection to multiple denial-of-service vectors. If Dovecot is the IMAP daemon on your mail server (it almost certainly is), this deserves your attention. Here is a breakdown of what matters, in roughly descending order of alarm. The Serious Ones CVE-2026-24031 — SQL injection auth bypass (CVSS 7.7, HIGH) ...

May 4, 2026 · 4 min