Use After Free in Radare Radare2

CVE-2019-19590

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.

Vulnerability class: Integer Overflow

EPSS: 0.025 (83.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-19590?
CVE-2019-19590 is a high-severity vulnerability in Radare Radare2, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2019-12-05.
How severe is CVE-2019-19590?
High severity. CVSS v3 base score is 7.8 out of 10.