{"schemaVersion":3,"id":"CVE-2022-38791","aliases":["SUSE-RU-2022:3855-1","UBUNTU-CVE-2022-38791","DEBIAN-CVE-2022-38791"],"status":"published","duplicateOf":null,"title":null,"description":"In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.","dates":{"published":"2022-08-27T00:00:00.000Z","modified":"2024-08-03T11:02:14.577Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0025,"percentile":0.15264,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0025},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0025,"percentile":0.15264}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0025,"percentile":0.15264}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-667","name":"Improper Locking","description":"The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/667.html"}],"affected":[{"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.0","name":"mariadb-10.0","label":"mariadb-10.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mariadb-10.0","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.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":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mariadb","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.3.0, < 10.3.36","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.4.0, < 10.4.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.5.0, < 10.5.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.6.0, < 10.6.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.7.0, < 10.7.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.8.0, < 10.8.4","noFixRecorded":false,"fixedIn":null},{"text":"10.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.3.0, < 10.3.36 | ≥ 10.4.0, < 10.4.26 | ≥ 10.5.0, < 10.5.17 | ≥ 10.6.0, < 10.6.9 | ≥ 10.7.0, < 10.7.5 | ≥ 10.8.0, < 10.8.4 | 10.9.1","eol":{"isEol":true,"eolDate":"2023-08-22T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10.9","label":"10.9","eolFrom":"2023-08-22T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"10.9.8"},"product":{"name":"mariadb","label":"MariaDB","category":"database"}},"hubHref":"/vendor/mariadb/mariadb"},{"vendor":"opensuse","product":"mariadb&distro=openSUSE Leap 15.4","name":"mariadb","label":"mariadb&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/mariadb&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 10.6.10-150400.3.17.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.6.10-150400.3.17.1","eol":null,"hubHref":null},{"vendor":"suse","product":"mariadb&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","name":"mariadb","label":"mariadb&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/mariadb&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 10.6.10-150400.3.17.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.6.10-150400.3.17.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://jira.mariadb.org/browse/MDEV-28719","label":"jira.mariadb.org/browse/MDEV-28719","hostname":"jira.mariadb.org","tags":["REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221104-0008/","label":"security.netapp.com/advisory/ntap-20221104-0008/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHISY4YVO4S5QJYYIXCIAXBM7INOL4VY/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCOEGSVMIEXDZHBOSV6WVF7FAVRBR2JE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVAONAZXJFGHAJ4RP2OF3EAMQCOTDSQ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://www.suse.com/support/update/announcement/-2022-3855/suse-ru-20223855-1/","label":"www.suse.com/support/update/announcement/-2022-3855/suse-ru-20223855-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1202863","label":"bugzilla.suse.com/1202863","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-38791","label":"www.suse.com/security/cve/CVE-2022-38791","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-38791","label":"ubuntu.com/security/CVE-2022-38791","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-38791","label":"www.cve.org/CVERecord?id=CVE-2022-38791","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-38791","label":"security-tracker.debian.org/tracker/CVE-2022-38791","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38791","label":"nvd.nist.gov/vuln/detail/CVE-2022-38791","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3114-1","OPENSUSE-SU-2024:12360-1","RHSA-2023:5259","RHSA-2023:5683","RHSA-2023:5684","RHSA-2023:6821","RHSA-2023:6822","RHSA-2023:6883","RHSA-2023:7633","SUSE-RU-2023:3956-1","SUSE-RU-2023:4991-1","SUSE-SU-2022:3391-1","SUSE-SU-2023:0631-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12360-1","SUSE-RU-2023:3956-1","SUSE-RU-2023:4991-1","SUSE-SU-2022:3391-1","SUSE-SU-2023:0631-1"]},"timeline":[{"kind":"published","date":"2022-08-27T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T11:02:14.577Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:03:39.427Z","stale":false,"partial":false}}