CVE-2022-31624: MariaDB Server before 10.7 is vulnerable to Denial of Service.
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.21% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: galera (AlmaLinux:8) 25.3.34-4.module_el8.5.0+2632+14ced695, 26.4.9-4.module_el8.5.0+2637+d11efe18, 26.4.9-4.module_el8.6.0+2761+593e5e59; Judy (AlmaLinux:8) 1.0.5-18.module_el8.5.0+2632+14ced695, 1.0.5-18.module_el8.6.0+2761+593e5e59, 1.0.5-18.module_el8.5.0+2637+d11efe18; mariadb (AlmaLinux:8) 3:10.5.13-1.module_el8.6.0+2761+593e5e59, 3:10.3.32-2.module_el8.5.0+2632+14ced695, 3:10.3.32-2.module_el8.6.0+2867+72759d2f.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to galera (AlmaLinux:8) 25.3.34-4.module_el8.5.0+2632+14ced695, 26.4.9-4.module_el8.5.0+2637+d11efe18, 26.4.9-4.module_el8.6.0+2761+593e5e59; Judy (AlmaLinux:8) 1.0.5-18.module_el8.5.0+2632+14ced695, 1.0.5-18.module_el8.6.0+2761+593e5e59, 1.0.5-18.module_el8.5.0+2637+d11efe18; mariadb (AlmaLinux:8) 3:10.5.13-1.module_el8.6.0+2761+593e5e59, 3:10.3.32-2.module_el8.5.0+2632+14ced695, 3:10.3.32-2.module_el8.6.0+2867+72759d2f or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
- Published
- May 25, 2022
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 12th percentile
- CWE
- CWE-667
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mariadb mariadbbefore 10.2.41
- mariadb mariadb10.3.0 and later · before 10.3.32
- mariadb mariadb10.4.0 and later · before 10.4.22
- mariadb mariadb10.5.0 and later · before 10.5.13
- mariadb mariadb10.6.0 and later · before 10.6.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | galera | before 25.3.34-4.module_el8.5.0+2632+14ced695 | 25.3.34-4.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | galera | before 26.4.9-4.module_el8.5.0+2637+d11efe18 | 26.4.9-4.module_el8.5.0+2637+d11efe18 |
| AlmaLinux:8 | galera | before 26.4.9-4.module_el8.6.0+2761+593e5e59 | 26.4.9-4.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | galera | before 25.3.34-4.module_el8.6.0+2867+72759d2f | 25.3.34-4.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.5.0+2632+14ced695 | 1.0.5-18.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+2761+593e5e59 | 1.0.5-18.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.5.0+2637+d11efe18 | 1.0.5-18.module_el8.5.0+2637+d11efe18 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+2867+72759d2f | 1.0.5-18.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | mariadb | before 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | mariadb | before 3:10.3.32-2.module_el8.5.0+2632+14ced695 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | mariadb | before 3:10.3.32-2.module_el8.6.0+2867+72759d2f | 3:10.3.32-2.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | mariadb | before 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 |
| AlmaLinux:8 | mariadb-backup | before 3:10.3.32-2.module_el8.5.0+2632+14ced695 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | mariadb-backup | before 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | mariadb-backup | before 3:10.3.32-2.module_el8.6.0+2867+72759d2f | 3:10.3.32-2.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | mariadb-backup | before 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 |
| AlmaLinux:8 | mariadb-common | before 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 |
| AlmaLinux:8 | mariadb-common | before 3:10.3.32-2.module_el8.5.0+2632+14ced695 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | mariadb-common | before 3:10.3.32-2.module_el8.6.0+2867+72759d2f | 3:10.3.32-2.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | mariadb-common | before 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | mariadb-devel | before 3:10.3.32-2.module_el8.6.0+2867+72759d2f | 3:10.3.32-2.module_el8.6.0+2867+72759d2f |
| AlmaLinux:8 | mariadb-devel | before 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 |
| AlmaLinux:8 | mariadb-devel | before 3:10.3.32-2.module_el8.5.0+2632+14ced695 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 |
| AlmaLinux:8 | mariadb-devel | before 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 |
+96
Same product
mariadb: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-26785MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a…40Plan
- CVE-2012-5613MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the FILE privilege to…40Plan
- CVE-2026-92262MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-31622May 25, 2022 · MariaDB Server before 10.7 is vulnerable to Denial of Service.22Monitor
- ← EarlierCVE-2022-31623May 25, 2022 · MariaDB Server before 10.7 is vulnerable to Denial of Service.22Monitor
- Later →CVE-2022-32081Jul 1, 2022 · MariaDB v10.4 to v10.7 was discovered to contain an use-after-poison in prepare_inplace_add_virtual at…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:galera | 25.3.34-4.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:Judy | 1.0.5-18.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb | 3:10.3.32-2.module_el8.5.0+2632+14ced695 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-backup | 3:10.3.32-2.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-common | 3:10.3.32-2.module_el8.5.0+2632+14ced695 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-devel | 3:10.3.32-2.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded | 3:10.3.32-2.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded-devel | 3:10.3.32-2.module_el8.5.0+2632+14ced695 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-errmsg | 3:10.3.32-2.module_el8.5.0+2632+14ced695 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-gssapi-server | 3:10.3.32-2.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-oqgraph-engine | 3:10.3.32-2.module_el8.6.0+2867+72759d2f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-server | 3:10.3.32-2.module_el8.5.0+2632+14ced695 · AlmaLinux:8 | Package registry (OSV) |
| alpine:mariadb | 10.6.7-r0 · Alpine:v3.16 | Package registry (OSV) |
| debian:mariadb-10.5 | 1:10.5.15-0+deb11u1 · Debian:11 | Package registry (OSV) |
| red hat:rh-mariadb105-galera | 0:26.4.9-3.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-galera-debuginfo | 0:26.4.9-3.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-backup | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-backup-syspaths | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-common | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-config | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-config-syspaths | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-connect-engine | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-debuginfo | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-devel | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-errmsg | 3:10.5.13-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| rocky linux:galera | 0:25.3.34-4.module+el8.5.0+777+18007c86 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:Judy | 0:1.0.5-18.module+el8.4.0+427+adf35707 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:mariadb | 3:10.3.32-2.module+el8.5.0+777+18007c86 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0380 · May 26, 2022(MariaDB Güvenlik Zafiyeti)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-667 · Improper LockingCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.