cve.bz

CVE-2022-47015 mariadb mariadb: NULL Pointer Dereference

6.5 mediumEPSS 1.6%Fix available

Medium (6.5) in mariadb mariadb. EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
MariaDB Server before 10.3.34 thru 10.9.3 is vulnerable to Denial of Service. It is possible for function spider_db_mbase::print_warnings to dereference a null pointer.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-47015 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-47015?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-47015?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-47015 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mariadb:mariadbfrom 10.3.0 before 10.3.39
mariadb:mariadbfrom 10.4.0 before 10.4.29
mariadb:mariadbfrom 10.5.0 before 10.5.20
mariadb:mariadbfrom 10.6.0 before 10.6.13
mariadb:mariadbfrom 10.8.0 before 10.8.8
mariadb:mariadbfrom 10.9.0 before 10.9.6
mariadb:mariadbfrom 10.10.0 before 10.10.4
mariadb:mariadbfrom 10.11.0 before 10.11.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10mariadb-10.31:10.3.39-0+deb10u1DLA-3444-1
Debian12, 13, 14mariadb1:10.11.3-1DEBIAN-CVE-2022-47015
Ubuntu20.04:LTSmariadb-10.31:10.3.39-0ubuntu0.20.04.2UBUNTU-CVE-2022-47015 USN-6600-1
Ubuntu22.04:LTSmariadb-10.61:10.6.16-0ubuntu0.22.04.1UBUNTU-CVE-2022-47015 USN-6600-1
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2023:5259
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2023:5683
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.37-1.module+el8.8.0+19444+aac3c36bRHSA-2023:5259
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.14-1.module+el8.8.0+20134+a92c7654RHSA-2023:5683
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.22-1.module+el8.8.0+20134+a92c7654RHSA-2023:5683
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.39-1.module+el8.8.0+19673+72b0d35fRHSA-2023:5259
Red Hatenterprise_linux:9::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.14-1.el9_2RHSA-2023:5684
Red Hatenterprise_linux:9::appstreammariadb, mariadb-pam, mariadb-backup and 18 more3:10.5.22-1.el9_2RHSA-2023:5684
Red Hatenterprise_linux:9::crbmariadb-test, mariadb-devel, mariadb-debuginfo and 10 more3:10.5.22-1.el9_2RHSA-2023:5684
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2023:6821
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.14-1.module+el8.4.0+20291+fd32d29cRHSA-2023:6821
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.22-1.module+el8.4.0+20291+fd32d29cRHSA-2023:6821
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 moremariadb10.4.31-150200.3.45.1SUSE-SU-2023:3712-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 5 moremariadb10.5.21-150300.3.32.5SUSE-SU-2023:2991-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 moremariadb10.5.20-150300.3.28.1SUSE-SU-2023:2478-2
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1mariadb10410.4.30-150100.3.5.10SUSE-RU-2023:3956-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1python-mysqlclient1.4.6-150100.3.3.7SUSE-RU-2023:3956-1
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Server Applications 15 SP4 and 1 moremariadb10.6.13-150400.3.23.1SUSE-SU-2023:2479-1
SUSELinux Enterprise Real Time 15 SP3mariadb10.5.20-150300.3.28.1SUSE-SU-2023:2478-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5lz41.8.0-3.5.2SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb-connector-c3.1.22-2.35.1SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb10410.4.30-8.5.46SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5python-mysqlclient1.3.14-8.9.2SUSE-RU-2023:4991-1
openSUSELeap 15.4, Leap 15.5mariadb10.6.13-150400.3.23.1SUSE-SU-2023:2479-1
openSUSETumbleweedmariadb10.11.3-1.1openSUSE-SU-2024:12956-1
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2867+72759d2fALSA-2023:5259
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3072+3c630e87ALSA-2023:5683
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3138+72759d2fALSA-2023:5259
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3139+3c630e87ALSA-2023:5683
AlmaLinux8galera25.3.37-1.module_el8.8.0+3609+204d4ab0ALSA-2023:5259
AlmaLinux8galera26.4.14-1.module_el8.8.0+3620+5d452900ALSA-2023:5683
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.22-1.module_el8.8.0+3620+5d452900ALSA-2023:5683
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.39-1.module_el8.8.0+3609+204d4ab0ALSA-2023:5259
AlmaLinux9galera26.4.14-1.el9_2.alma.1ALSA-2023:5684
AlmaLinux9mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.22-1.el9_2.alma.1ALSA-2023:5684
Rocky Linux8Judy0:1.0.5-18.module+el8.10.0+1674+fa55eae9RLSA-2023:5259
Rocky Linux8Judy0:1.0.5-18.module+el8.10.0+1925+356c22e8RLSA-2023:5259
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2023:5259 RLSA-2023:5683
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+431+26aaed18RLSA-2023:5259
Rocky Linux8galera0:25.3.37-1.module+el8.8.0+1452+2a7eab68RLSA-2023:5259
Rocky Linux8galera0:26.4.14-1.module+el8.8.0+1490+31c52b1fRLSA-2023:5683
Rocky Linux8mariadb3:10.3.39-1.module+el8.8.0+1452+2a7eab68RLSA-2023:5259
Rocky Linux8mariadb3:10.5.22-1.module+el8.8.0+1490+31c52b1fRLSA-2023:5683
Alpinev3.15, v3.16, v3.17mariadb10.6.13-r0ALPINE-CVE-2022-47015
Azure Linux2mariadb10.6.9-3AZL-13115

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mariadb:10.3-8080020230814130040.63b34585Fixed 2023-09-19RHSA-2023:5259
Red Hat Enterprise Linux 8mariadb:10.5-8080020231003163755.63b34585Fixed 2023-10-12RHSA-2023:5683
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicemariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.6 Extended Update Supportmariadb:10.5-8060020231005052631.ad008a3aFixed 2023-11-08RHSA-2023:6822
Red Hat Enterprise Linux 9mariadb-3:10.5.22-1.el9_2Fixed 2023-10-12RHSA-2023:5684
Red Hat Enterprise Linux 9.0 Extended Update Supportgalera-0:26.4.14-1.el9_0Fixed 2023-11-13RHSA-2023:6883
Red Hat Enterprise Linux 9.0 Extended Update Supportmariadb-3:10.5.22-1.el9_0Fixed 2023-11-13RHSA-2023:6883
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb105-mariadb-3:10.5.22-1.el7Fixed 2023-12-04RHSA-2023:7633
Red Hat Enterprise Linux 7mariadbOut of support scope
Red Hat OpenStack Platform 13 (Queens)mariadbOut of support scope
Red Hat Software Collectionsrh-mariadb103-mariadbOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-47015.

References

Check your stackJSON