CVE-2019-19590: Integer Overflow
In radare2 through 4.0, there is an integer overflow for the variable newtokensize in the function rasmmassemble 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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2019-19590?
CVE-2019-19590 has a medium severity rating due to the potential for remote code execution via a use-after-free vulnerability.
How do I fix CVE-2019-19590?
To fix CVE-2019-19590, upgrade to radare2 version 4.0.1 or later where the vulnerability has been patched.
What causes the vulnerability CVE-2019-19590?
CVE-2019-19590 is caused by an integer overflow in the r_asm_massemble function which leads to a use-after-free condition.
Which versions of radare2 are affected by CVE-2019-19590?
CVE-2019-19590 affects all versions of radare2 up to and including version 4.0.0.
What kind of attack can CVE-2019-19590 enable?
CVE-2019-19590 can enable a remote attacker to execute arbitrary code due to the use-after-free vulnerability in the software.