{"schemaVersion":3,"id":"CVE-2019-19590","aliases":["UBUNTU-CVE-2019-19590"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-12-05T01:55:47.000Z","modified":"2024-08-05T02:16:48.250Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02536,"percentile":0.84731,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02536},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02536,"percentile":0.84731}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02536,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02536,"percentile":0.84731}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RADAREORG_RADARE2","name":"Radare2","source":"github","url":"https://github.com/radareorg/radare2/issues/23953#issue-2844325926","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"ubuntu","product":"radare2","name":"radare2","label":"radare2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/radare2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"radare","product":"radare2","name":"radare2","label":"radare2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.0.0","eol":null,"hubHref":"/vendor/radare/radare2"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/radareorg/radare2/issues/15543","label":"github.com/radareorg/radare2/issues/15543","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YQTOWEDFXDTGTD6D4NHRB4FUURQSTTEN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WRQXCOVFWZIIMAZIAAFAVQGZOS7LGHXP/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2019-19590","label":"ubuntu.com/security/CVE-2019-19590","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19590","label":"www.cve.org/CVERecord?id=CVE-2019-19590","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2020-0100"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-12-05T01:55:47.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:16:48.250Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:01:20.070Z","stale":false,"partial":false}}