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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | radare2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | radare2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | radare2 | Fix pending | UBUNTU-CVE-2019-19590 | |
| Ubuntu 16.04 | radare2 | Fix pending | UBUNTU-CVE-2019-19590 | |
| Ubuntu 14.04 | radare2 | Fix pending | ||
| Alpine Linux 3.24 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.23 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.22 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.21 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.20 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.19 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
| Alpine Linux 3.18 | radare2 | Fixed | 4.0.0-r0 | ALPINE-CVE-2019-19590 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/radareorg/radare2/issues/15543
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YQTOWEDFXDTGTD6D4NHRB4FUURQSTTEN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WRQXCOVFWZIIMAZIAAFAVQGZOS7LGHXP/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.