CVE-2019-19590 Use after free in n/a

High 7.8 Published Updated

Remote attackers can trigger a use-after-free via crafted input in radare2, potentially leading to arbitrary code execution or application crashes.

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-2019-19590?

CVE-2019-19590 is a high-severity use after free vulnerability in Radare Radare2, published on 5 Dec 2019. 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

In radare2 through 4.0, there is an integer overflow for the variable new_token_size in the function r_asm_massemble at libr/asm/asm.c. This integer overflow will result in a Use-After-Free for the buffer tokens, which can be filled with arbitrary malicious data after the free. This allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via crafted input.

Weakness: CWE-416, CWE-190

Which versions are affected by CVE-2019-19590?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2019-19590?

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-2019-19590 being exploited?

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

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-67rp-x49w-2277, UBUNTU-CVE-2019-19590.

Is CVE-2019-19590 in your software?

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

Check your SBOMs for free