synced 10 MIN AGO
01 Record

CVE-2022-27387

MariaDB Server v10.7 and below was discovered to contain a global buffer overflow in the component decimal_bin_size, which is exploited via specially crafted SQL statements.

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 Description

MariaDB Server v10.7 and below was discovered to contain a global buffer overflow in the component decimal_bin_size, which is exploited via specially crafted SQL statements.

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
2.45% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 84.0% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-04-12 19:14Z4 YR AGO
Last updated
2024-08-03 05:25Z2 YR AGO
Reserved
2022-03-21
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')Base
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
Data version
5.1
Document digest
f4e36b93b6da8f9333e4372d311d4fc5304886dec020a3ae574aea4ff47796a2

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
mariadbmariadbNot specified—
redhatenterprise_linuxNot specified—
redhatopenstackNot specified—
redhatrhel_ausNot specified—
redhatrhel_e4sNot specified—
redhatrhel_software_collectionsNot specified—
redhatrhel_tusNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • Judy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.5-18.module_el8.6.0+3072+3c630e87
    • Affected before 1.0.5-18.module_el8.6.0+3139+3c630e87
  • galera
    Fixed

    A version is affected if any line below covers it.

    • Affected before 25.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 26.4.11-1.module_el8.6.0+3072+3c630e87
  • mariadb
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-backup
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-common
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-embedded
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-embedded-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-errmsg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-gssapi-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-oqgraph-engine
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-pam
    Fixed in 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server-galera
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server-utils
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • mariadb
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-backup
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-common
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-devel
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-embedded
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-embedded-devel
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-errmsg
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-gssapi-server
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-oqgraph-engine
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-pam
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server-galera
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server-utils
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-test
    Fixed in 3:10.5.16-2.el9_0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • Judy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.5-18.module_el8.6.0+3072+3c630e87
    • Affected before 1.0.5-18.module_el8.6.0+3139+3c630e87
  • galera
    Fixed

    A version is affected if any line below covers it.

    • Affected before 25.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 26.4.11-1.module_el8.6.0+3072+3c630e87
  • mariadb
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-backup
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-common
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-embedded
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-embedded-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-errmsg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-gssapi-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-oqgraph-engine
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-pam
    Fixed in 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server-galera
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-server-utils
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87
  • mariadb-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3:10.3.35-1.module_el8.6.0+3265+230ed96b
    • Affected before 3:10.5.16-2.module_el8.6.0+3072+3c630e87

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • mariadb
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-backup
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-common
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-devel
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-embedded
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-embedded-devel
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-errmsg
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-gssapi-server
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-oqgraph-engine
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-pam
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server-galera
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-server-utils
    Fixed in 3:10.5.16-2.el9_0
  • mariadb-test
    Fixed in 3:10.5.16-2.el9_0

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 11

  • mariadb-10.5
    Fixed in 1:10.5.18-0+deb11u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • mariadb-10.0
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • mariadb-10.1
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • mariadb-10.3
    Fixed in 1:10.3.37-0ubuntu0.20.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • mariadb-10.6
    Fixed in 1:10.6.11-0ubuntu0.22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.