Integer Overflow leading to Use-After-Free vulnerability in radare2 through 4.0

Integer Overflow leading to Use-After-Free vulnerability in radare2 through 4.0

CVE-2019-19590 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.