{"id":"UBUNTU-CVE-2019-19590","details":"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.","modified":"2026-04-22T13:40:23.743465Z","published":"2019-12-05T02:15:00Z","upstream":["CVE-2019-19590"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19590"},{"type":"REPORT","url":"https://github.com/radareorg/radare2/issues/15543"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19590"}],"affected":[{"package":{"name":"radare2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/radare2@0.9.6-3.1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-3.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-0.9.6","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"libradare2-common","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"radare2","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"radare2-plugins","binary_version":"0.9.6-3.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19590.json"}},{"package":{"name":"radare2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/radare2@2.3.0+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0+dfsg-1","2.0.0+dfsg-1","2.1.0+dfsg-1","2.3.0+dfsg-1","2.3.0+dfsg-2","2.3.0+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-2.3","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libradare2-common","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"radare2","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19590.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}