Skip to contentSkip to conversation

mariadb: Fix CVE-2026-3494

PATCH In review Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco) 2 participants 2 messages Mar 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: Fix CVE-2026-3494

From: Anil Dongare <[email protected]>

- This patch applies the upstream fix as referenced in [3], using the commit shown in [1].
- Commit [2] is included as a required regression fix for the same upstream bug ticket [4] (MDEV-38375). It resolves an audit logging regression for prepared statements introduced during the initial fix.

[1] https://github.com/MariaDB/server/commit/635559a2ad68a5a6d1a354e8209c58323dba0261
[2] https://github.com/MariaDB/server/commit/317fb109153b45091003f0b1380b5d68522fce29
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-3494
[4] https://jira.mariadb.org/browse/MDEV-38375

---
 meta-oe/recipes-dbs/mysql/mariadb.inc         |   2 +
 .../mysql/mariadb/CVE-2026-3494_p1.patch      | 780 ++++++++++++++++++
 .../mysql/mariadb/CVE-2026-3494_p2.patch      | 105 +++
 3 files changed, 887 insertions(+)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/CVE-2026-3494_p1.patch
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/CVE-2026-3494_p2.patch
meta-oe/recipes-dbs/mysql/mariadb.inc +2 -0
index f0cec75568..2f5217f6df 100644
@@ -22,6 +22,8 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
            file://lfs64.patch \
            file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
+           file://CVE-2026-3494_p1.patch \
+           file://CVE-2026-3494_p2.patch \
           "
 SRC_URI[sha256sum] = "d61f23090cfc14f43e8a27c2d3ce7f80247e74481bb26a2d3a6308b8d194e167"
 
meta-oe/recipes-dbs/mysql/mariadb/CVE-2026-3494_p1.patch new file +780 -0

780 lines not on this page · raw message

meta-oe/recipes-dbs/mysql/mariadb/CVE-2026-3494_p2.patch new file +105 -0

105 lines not on this page · raw message

Signature · 1 line
2.44.1
#1 lore raw
Quoted 9 lines · On Tue, Mar 24, 2026 at 7:16 PM Anil Dongare -X (adongare - E INFOCHIPS…

From: Anil Dongare <[email protected]>

- This patch applies the upstream fix as referenced in [3], using the commit shown in [1].
- Commit [2] is included as a required regression fix for the same upstream bug ticket [4] (MDEV-38375). It resolves an audit logging regression for prepared statements introduced during the initial fix.

Quoted 5 lines

[1] https://github.com/MariaDB/server/commit/635559a2ad68a5a6d1a354e8209c58323dba0261
[2] https://github.com/MariaDB/server/commit/317fb109153b45091003f0b1380b5d68522fce29
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-3494
[4] https://jira.mariadb.org/browse/MDEV-38375

This should be fixed by the upgrade to 10.11.16 already on the list for scarthgap.

Thanks,

Anuj