CVE-2022-0849 Use After Free in r_reg_get_name_idx in radareorg/radare2

High 7.3 Published Updated

A use-after-free vulnerability in radare2 allows attackers to execute arbitrary code or cause a denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-0849?

CVE-2022-0849 is a high-severity use after free vulnerability in Radare Radare2, published on 5 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-416

Which versions are affected by CVE-2022-0849?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2022-0849?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-0849 being exploited?

There is no known exploitation of CVE-2022-0849 in the wild and no public exploit code.

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-9r7p-3jj4-29v6, UBUNTU-CVE-2022-0849.

Is CVE-2022-0849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free