MariaDB up to 10.6.3 /sql/sql_string.h free_buffer use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in MariaDB up to 10.6.3. This vulnerability affects the function Binary_string::free_buffer of the file /sql/sql_string.h. Executing a manipulation can lead to use after free.
This vulnerability is tracked as CVE-2022-27458. The attack can be launched remotely. No exploit exists.
Details
A vulnerability was found in MariaDB up to 10.6.3 (Database Software). It has been declared as critical. This vulnerability affects the function Binary_string::free_buffer of the file /sql/sql_string.h. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was disclosed 04/14/2022. The advisory is shared for download at jira.mariadb.org. This vulnerability was named CVE-2022-27458 since 03/21/2022. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 05/22/2025).
The vulnerability scanner Nessus provides a plugin with the ID 236542 (Alibaba Cloud Linux 3 : 0151: mariadb:10.5 (ALINUX3-SA-2022:0151)), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (236542). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236542
Nessus Name: Alibaba Cloud Linux 3 : 0151: mariadb:10.5 (ALINUX3-SA-2022:0151)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/21/2022 🔍04/14/2022 🔍
04/14/2022 🔍
05/22/2025 🔍
Sources
Advisory: jira.mariadb.orgStatus: Confirmed
CVE: CVE-2022-27458 (🔍)
GCVE (CVE): GCVE-0-2022-27458
GCVE (VulDB): GCVE-100-197332
Entry
Created: 04/14/2022 17:10Updated: 05/22/2025 00:16
Changes: 04/14/2022 17:10 (38), 04/19/2022 18:56 (1), 05/22/2025 00:16 (16)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.