Skip to main content
No exploitation reportedFix available

CVE-2022-27457

No exploitation reported by the sources we read.

  • Published2022-04-14
  • Fixed in10.7.4 · 10.6.8 · 10.5.16 · 10.4.25
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.

Timeline

dates in UTC
  1. 2022-04-1413:15CVE publishedNVD

Versions per branch

NVD · OSV
MariaDB
BranchAffectedFixed in
10.7≥ 10.7.0, < 10.7.410.7.4
10.6≥ 10.6.0, < 10.6.810.6.8
10.5≥ 10.5.0, < 10.5.1610.5.16
10.4≥ 10.4.0, < 10.4.2510.4.25

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • galeraRocky Linux:9all versions · fixed in 0:26.4.11-1.el9_0
  • galeraRocky Linux:8all versions · fixed in 0:26.4.11-1.module+el8.6.0+995+5ac2a483
  • galeraRed Hat:rhel_tus:8.4::appstreamall versions · fixed in 0:26.4.14-1.module+el8.4.0+20291+fd32d29cand 2 other packages
  • galeraRed Hat:rhel_e4s:8.4::appstreamall versions · fixed in 0:26.4.14-1.module+el8.4.0+20291+fd32d29cand 2 other packages
  • galeraRed Hat:rhel_aus:8.4::appstreamall versions · fixed in 0:26.4.14-1.module+el8.4.0+20291+fd32d29cand 2 other packages
  • galeraRed Hat:enterprise_linux:9::appstreamall versions · fixed in 0:26.4.11-1.el9_0and 2 other packages
  • galeraRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:26.4.11-1.module+el8.6.0+15639+405b7427and 2 other packages
  • galeraAlmaLinux:8all versions · fixed in 26.4.11-1.module_el8.6.0+3072+3c630e87

73 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-27457 Red Hat Product Security539 products fixed · 10 known affected

    mariadb: incorrect key in "dup value" error after long unique

    mariadb as a component of Red Hat OpenStack Platform 13 (Queens) · mariadb-common as a component of Red Hat OpenStack Platform 13 (Queens) · mariadb-config as a component of Red Hat OpenStack Platform 13 (Queens) · +7 more

  • ICSA-26-027-02 CISA1 known affected

    Festo Didactic SE MES PC

    Festo Didactic SE MES PC shipped with Windows 10

  • RHSA-2023:6821 Red Hat Product Security189 products fixed

    Red Hat Security Advisory: mariadb:10.5 security update

  • RHSA-2022:5948 Red Hat Product Security137 products fixed

    Red Hat Security Advisory: galera, mariadb, and mysql-selinux security, bug fix, and enhancement update

  • RHSA-2022:5826 Red Hat Product Security123 products fixed

    Red Hat Security Advisory: mariadb:10.5 security, bug fix, and enhancement update

  • RHSA-2022:5759 Red Hat Product Security90 products fixed

    Red Hat Security Advisory: rh-mariadb105-galera and rh-mariadb105-mariadb security and bugfix update

Full record on NVD

Fix

  1. Update MariaDB to 10.7.4 · 10.6.8 · 10.5.16 · 10.4.25
  2. Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
  3. Vendor fix Red Hat Product Security RHSA-2023:6821 · 189 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.
  4. Vendor fix Red Hat Product Security RHSA-2022:5948 · 137 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the MySQL server daemon (mysqld) will be restarted automatically. After installing this update, the MariaDB server daemo…
  5. No fix planned, says the vendor Red Hat Product Security CVE-2022-27457 · 10 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2022-04-14
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-4v3m-fhx4-qp25

Frequently asked questions

What is CVE-2022-27457?

MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.

Is CVE-2022-27457 actively exploited?

Active exploitation of CVE-2022-27457 has not been confirmed. Its EPSS score was 1.7% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-27457?

CVE-2022-27457 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running MariaDB? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record