First published: Thu Dec 05 2019(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Radare2 | <=4.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-19590 has a medium severity rating due to the potential for remote code execution via a use-after-free vulnerability.
To fix CVE-2019-19590, upgrade to radare2 version 4.0.1 or later where the vulnerability has been patched.
CVE-2019-19590 is caused by an integer overflow in the r_asm_massemble function which leads to a use-after-free condition.
CVE-2019-19590 affects all versions of radare2 up to and including version 4.0.0.
CVE-2019-19590 can enable a remote attacker to execute arbitrary code due to the use-after-free vulnerability in the software.