CVE-2023-5157: Mariadb: node crashes with transport endpoint is not connected mysqld got signal 6
Noroxi assessment
Priority: Monitor (action score 31/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: 2.2% (FIRST EPSS); higher than 82.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: galera (AlmaLinux:8) 26.4.14-1.module_el8.8.0+3620+5d452900; Judy (AlmaLinux:8) 1.0.5-18.module_el8.6.0+3072+3c630e87, 1.0.5-18.module_el8.6.0+3139+3c630e87; mariadb (AlmaLinux:8) 3:10.5.22-1.module_el8.8.0+3620+5d452900.
Low priority for now. Upgrade to galera (AlmaLinux:8) 26.4.14-1.module_el8.8.0+3620+5d452900; Judy (AlmaLinux:8) 1.0.5-18.module_el8.6.0+3072+3c630e87, 1.0.5-18.module_el8.6.0+3139+3c630e87; mariadb (AlmaLinux:8) 3:10.5.22-1.module_el8.8.0+3620+5d452900 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
A vulnerability was found in MariaDB. An OpenVAS port scan on ports 3306 and 4567 allows a malicious remote client to cause a denial of service.
- Published
- Sep 27, 2023
- Updated
- Jun 17, 2026
- EPSS
- 2.2% · 82th percentile
- CWE
- CWE-400
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · redhat
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
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.
Running WordPress? Scan your site free with WP Lens
Noroxi 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 |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for arm 64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64 |
| redhat | enterprise linux for arm 64 eus | cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora38
- mariadb mariadb10.4.0 and later · before 10.4.26
- mariadb mariadb10.5.0 and later · before 10.5.17
- mariadb mariadb10.6.0 and later · before 10.6.9
- mariadb mariadb10.7.0 and later · before 10.7.5
- mariadb mariadb10.8.0 and later · before 10.8.4
- mariadb mariadbbefore 10.3.36
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus8.6
- redhat enterprise linux eus8.8
- redhat enterprise linux eus9.0
- redhat enterprise linux eus9.2
- redhat enterprise linux for arm 648.0_aarch64
- redhat enterprise linux for arm 649.0_aarch64
- redhat enterprise linux for arm 64 eus8.8_aarch64
- redhat enterprise linux for ibm z systems8.0_s390x
- redhat enterprise linux for ibm z systems9.0_s390x
- redhat enterprise linux for ibm z systems9.2_s390x
- redhat enterprise linux for ibm z systems eus8.6_s390x
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- 8080020230814130040.63b34585 and laternot affected · rpm
- 8080020231003163755.63b34585 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- 8040020231006044227.522a0ee4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- 8040020231006044227.522a0ee4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- 8040020231006044227.522a0ee4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
- 8060020231005052631.ad008a3a and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:26.4.14-1.el9_2 and laternot affected · rpm
- 3:10.5.22-1.el9_2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
- 0:26.4.14-1.el9_0 and laternot affected · rpm
- 3:10.5.22-1.el9_0 and laternot affected · rpm
Red Hat Red Hat Software Collections for Red Hat Enterprise Linux 7
- 0:26.4.14-1.el7 and laternot affected · rpm
- 3:10.5.22-1.el7 and laternot affected · rpm
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 26.4.14-1.module_el8.8.0+3620+5d452900 | 26.4.14-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+3072+3c630e87 | 1.0.5-18.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+3139+3c630e87 | 1.0.5-18.module_el8.6.0+3139+3c630e87 |
| AlmaLinux:8 | mariadb | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-backup | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-common | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-devel | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-embedded | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-embedded-devel | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-errmsg | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-gssapi-server | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-oqgraph-engine | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-pam | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-server | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-server-galera | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-server-utils | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:8 | mariadb-test | before 3:10.5.22-1.module_el8.8.0+3620+5d452900 | 3:10.5.22-1.module_el8.8.0+3620+5d452900 |
| AlmaLinux:9 | galera | before 26.4.14-1.el9_2.alma.1 | 26.4.14-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb-backup | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb-common | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb-devel | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb-embedded | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
| AlmaLinux:9 | mariadb-embedded-devel | before 3:10.5.22-1.el9_2.alma.1 | 3:10.5.22-1.el9_2.alma.1 |
+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 "cre40Plan
- CVE-2021-27928A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.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 u40Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-38791Aug 27, 2022 · 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 22Monitor
- ← EarlierCVE-2022-47015Jan 20, 2023 · MariaDB Server before 10.3.34 thru 10.9.3 is vulnerable to Denial of Service.26Monitor
- Later →CVE-2023-39593Oct 17, 2024 · Insecure permissions in the sys_exec function of MariaDB v10.5 allows authenticated attackers to execute arbitrary commands with elevated pr22Monitor
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 | 26.4.14-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:Judy | 1.0.5-18.module_el8.6.0+3139+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-backup | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-common | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-devel | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded-devel | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-errmsg | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-gssapi-server | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-oqgraph-engine | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-pam | 3:10.5.22-1.module_el8.8.0+3620+5d452900 · AlmaLinux:8 | Package registry (OSV) |
| debian:galera-4 | 26.4.13-1 · Debian:12 | Package registry (OSV) |
| red hat:galera | 0:25.3.37-1.module+el8.8.0+19444+aac3c36b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:galera-debuginfo | 0:25.3.37-1.module+el8.8.0+19444+aac3c36b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:galera-debugsource | 0:25.3.37-1.module+el8.8.0+19444+aac3c36b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:Judy | 0:1.0.5-18.module+el8+2765+cfa4f87b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:Judy-debuginfo | 0:1.0.5-18.module+el8+2765+cfa4f87b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:Judy-debugsource | 0:1.0.5-18.module+el8+2765+cfa4f87b · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb-backup | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb-backup-debuginfo | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb-common | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb-debuginfo | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mariadb-debugsource | 3:10.3.39-1.module+el8.8.0+19673+72b0d35f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:galera | 0:25.3.37-1.module+el8.8.0+1452+2a7eab68 · 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.39-1.module+el8.8.0+1452+2a7eab68 · 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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- 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
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- access.redhat.com/errata/RHSA-2023:5683
- access.redhat.com/errata/RHSA-2023:5684
- access.redhat.com/errata/RHSA-2023:6821
- access.redhat.com/errata/RHSA-2023:6822
- access.redhat.com/errata/RHSA-2023:6883
- access.redhat.com/errata/RHSA-2023:7633
- access.redhat.com/security/cve/CVE-2023-5157
- bugzilla.redhat.com/show_bug.cgi?id=2240246
Vendor advisories and official records. Exploit/PoC links are deliberately left out.