CVE Vulnerabilities

CVE-2022-0849

Use After Free

Published: Mar 05, 2022 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Use After Free in r_reg_get_name_idx in GitHub repository radareorg/radare2 prior to 5.6.6.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Radare2 Radare * 5.6.6 (excluding)
Radare2 Ubuntu bionic *
Radare2 Ubuntu esm-apps/bionic *
Radare2 Ubuntu esm-apps/focal *
Radare2 Ubuntu focal *
Radare2 Ubuntu lunar *
Radare2 Ubuntu mantic *
Radare2 Ubuntu oracular *
Radare2 Ubuntu trusty *
Radare2 Ubuntu xenial *

Potential Mitigations

References