MariaDB up to 10.6.3 /sql/sql_string.h free_buffer use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236542
Nessus Name: Alibaba Cloud Linux 3 : 0151: mariadb:10.5 (ALINUX3-SA-2022:0151)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

03/21/2022 🔍
04/14/2022 +23 days 🔍
04/14/2022 +0 days 🔍
05/22/2025 +1133 days 🔍

Sourcesinfo

Advisory: jira.mariadb.org
Status: Confirmed

CVE: CVE-2022-27458 (🔍)
GCVE (CVE): GCVE-0-2022-27458
GCVE (VulDB): GCVE-100-197332

Entryinfo

Created: 04/14/2022 17:10
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!