Skip to content
OpenAdvisories
Unscored CVE-2019-19590 EUVD-2019-9206GHSA-67rp-x49w-2277

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. Thi…

Published Dec 5, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS radare2 No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS radare2 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 radare2 4.0.0-r0 —
Alpine v3.23 radare2 4.0.0-r0 —
Alpine v3.22 radare2 4.0.0-r0 —
Alpine v3.21 radare2 4.0.0-r0 —
Alpine v3.20 radare2 4.0.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 radare2 4.0.0-r0 —
Alpine v3.18 radare2 4.0.0-r0 —

References