MariaDB 10.1.40 vulnerabilities

31 published vulnerabilities affect MariaDB 10.1.40. The 10.1 line no longer gets security fixes.

31CVEs
1critical (CVSS 9+)
6high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 10.1 line is 10.1.48, with 13 known CVEs. The newest MariaDB release we know of is 13.1.2, with no known CVEs.

Upgrade toFixesStill openNew in that release
10.1.48newest 10.1 release18 of 311 critical13CVE-2023-5157, CVE-2022-27449, CVE-2022-27385 and 10 morenone
13.1.2newest releaseall 311 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting MariaDB 10.1.40

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2020-15180A flaw was found in the mysql-wsrep component of mariadb9.0None known5%10.1.47NVD
CVE-2023-5157Mariadb: node crashes with transport endpoint is not connected mysqld got signal 67.5None known2%10.3.36NVD
CVE-2022-27449MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/item_func.cc:1487.5None known2%10.3.35NVD
CVE-2022-27385An issue in the component Used_tables_and_const_cache::used_tables_and_const_cache_join of MariaDB Server v10.7 and below was discovered to allow attackers to…7.5None known2%10.3.32NVD
CVE-2021-46669MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used7.5None known3%10.2.44NVD
CVE-2021-2144Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser)7.2None known2%10.1.42NVD
CVE-2020-28912With MariaDB running on Windows, when local clients connect to the server over named pipes, it's possible for an unprivileged user with an ability to run code…7.0None knownunder 1%10.1.48NVD
CVE-2020-14765Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: FTS)6.5None known3%10.1.48NVD
CVE-2020-2780Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML)6.5None known2%10.1.42NVD
CVE-2019-2974Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known4%10.1.42NVD
CVE-2019-2805Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Parser)6.5None known4%10.1.41NVD
CVE-2019-2740Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: XML)6.5None known4%10.1.41NVD
CVE-2020-2574Vulnerability in the MySQL Client product of Oracle MySQL (component: C API)5.9None known3%10.1.44NVD
CVE-2022-31624MariaDB Server before 10.7 is vulnerable to Denial of Service5.5None knownunder 1%10.2.41NVD
CVE-2022-31623MariaDB Server before 10.7 is vulnerable to Denial of Service5.5None knownunder 1%10.2.42NVD
CVE-2022-31622MariaDB Server before 10.7 is vulnerable to Denial of Service5.5None knownunder 1%10.2.42NVD
CVE-2022-31621MariaDB Server before 10.7 is vulnerable to Denial of Service5.5None knownunder 1%10.2.41NVD
CVE-2021-46667MariaDB before 10.6.5 has a sql_lex.cc integer overflow, leading to an application crash5.5None knownunder 1%10.2.41NVD
CVE-2021-46666MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause5.5None knownunder 1%10.2.39NVD
CVE-2021-46659MariaDB before 10.7.2 allows an application crash because it does not recognize that SELECT_LEX::nest_level is local to each VIEW5.5None knownunder 1%10.2.42NVD
CVE-2021-46657get_sort_by_table in MariaDB before 10.6.2 allows an application crash via certain subquery uses of ORDER BY5.5None knownunder 1%10.2.39NVD
CVE-2020-2752Vulnerability in the MySQL Client product of Oracle MySQL (component: C API)5.3None known2%10.1.45NVD
CVE-2019-2739Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Security: Privileges)5.1None knownunder 1%10.1.41NVD
CVE-2020-2812Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored Procedure)4.9None known3%10.1.45NVD
CVE-2019-2737Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server : Pluggable Auth)4.9None known4%10.1.41NVD
CVE-2020-14812Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Locking)4.9None known3%10.1.48NVD
CVE-2020-2814Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known3%10.1.45NVD
CVE-2021-2022Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.4None known2%10.1.46NVD
CVE-2026-3494MariaDB Server Audit Plugin Comment Handling Bypass4.3None knownunder 1%10.6.25CVE record
CVE-2021-2007Vulnerability in the MySQL Client product of Oracle MySQL (component: C API)3.7None known2%10.1.41NVD
CVE-2020-2922Vulnerability in the MySQL Client product of Oracle MySQL (component: C API)3.7None known2%10.1.41NVD

Support for the 10.1 line

The 10.1 line was first released 17 October 2015. Security fixes for it ended 17 October 2020, so vulnerabilities found since then stay open on every 10.1 release. Its latest release is 10.1.48. Dates and latest release from endoflife.date.

Other MariaDB 10.1 releases

10.1.4813 10.1.4716 10.1.4617 10.1.4518 10.1.4421 10.1.4322 10.1.4222 10.1.4125 10.1.3931 10.1.3833 10.1.3736 10.1.3642 10.1.3543 10.1.3447

All MariaDB versions

How this list is made

These are the CVEs Dawnsentry matches to each MariaDB version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.