{"schemaVersion":3,"id":"CVE-2022-27447","aliases":["ALPINE-CVE-2022-27447","UBUNTU-CVE-2022-27447","DEBIAN-CVE-2022-27447"],"status":"published","duplicateOf":null,"title":null,"description":"MariaDB Server v10.9 and below was discovered to contain a use-after-free via the component Binary_string::free_buffer() at /sql/sql_string.h.","dates":{"published":"2022-04-14T12:56:53.000Z","modified":"2024-08-03T05:25:32.662Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02246,"percentile":0.82619,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02246},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02246,"percentile":0.82619}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02246,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02246,"percentile":0.82619}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_95040ADB35A671F1","name":"Exploit Reference (jira.mariadb.org)","source":"reference","url":"https://jira.mariadb.org/browse/MDEV-28099","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mariadb","purlType":"apk","versions":[{"text":"≥ 10.3.0, < 10.4.25-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.3.0, < 10.5.16-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.3.0, < 10.6.8-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.3.0, < 10.4.25-r0 | ≥ 10.3.0, < 10.5.16-r0 | ≥ 10.3.0, < 10.6.8-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"mariadb-10.5","name":"mariadb-10.5","label":"mariadb-10.5","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mariadb-10.5","purlType":"deb","versions":[{"text":"< 1:10.5.18-0+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:10.5.18-0+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mariadb-10.1","name":"mariadb-10.1","label":"mariadb-10.1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mariadb-10.1","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mariadb-10.3","name":"mariadb-10.3","label":"mariadb-10.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mariadb-10.3","purlType":"deb","versions":[{"text":"< 1:10.3.37-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:10.3.37-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mariadb-10.6","name":"mariadb-10.6","label":"mariadb-10.6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mariadb-10.6","purlType":"deb","versions":[{"text":"< 1:10.6.11-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:10.6.11-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mariadb","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.3.0, < 10.3.35","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.4.0, < 10.4.25","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.5.0, < 10.5.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.6.0, < 10.6.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.7.0, < 10.7.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.3.0, < 10.3.35 | ≥ 10.4.0, < 10.4.25 | ≥ 10.5.0, < 10.5.16 | ≥ 10.6.0, < 10.6.8 | ≥ 10.7.0, < 10.7.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"mariadb","label":"MariaDB","category":"database"}},"hubHref":"/vendor/mariadb/mariadb"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://jira.mariadb.org/browse/MDEV-28099","label":"jira.mariadb.org/browse/MDEV-28099","hostname":"jira.mariadb.org","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220526-0006/","label":"security.netapp.com/advisory/ntap-20220526-0006/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html","label":"lists.debian.org/debian-lts-announce/2022/09/msg00023.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-27447","label":"security.alpinelinux.org/vuln/CVE-2022-27447","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-27447","label":"ubuntu.com/security/CVE-2022-27447","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5739-1","label":"ubuntu.com/security/notices/USN-5739-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-27447","label":"www.cve.org/CVERecord?id=CVE-2022-27447","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-27447","label":"security-tracker.debian.org/tracker/CVE-2022-27447","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27447","label":"nvd.nist.gov/vuln/detail/CVE-2022-27447","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3114-1","MGASA-2022-0215","RHSA-2022:5759","RHSA-2022:5826","RHSA-2022:5948","RHSA-2022:6306","RHSA-2022:6443","RHSA-2023:6821","SUSE-RU-2023:3956-1","SUSE-RU-2023:4991-1","SUSE-SU-2022:2003-1","SUSE-SU-2022:2189-1","SUSE-SU-2022:2561-1","USN-5739-1"],"duplicates":["CVE-2022-27458"],"related":["SUSE-RU-2023:3956-1","SUSE-RU-2023:4991-1","SUSE-SU-2022:2003-1","SUSE-SU-2022:2189-1","SUSE-SU-2022:2561-1","USN-5739-1"]},"timeline":[{"kind":"published","date":"2022-04-14T12:56:53.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:25:32.662Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:25:23.499Z","stale":false,"partial":false}}