{"id":"CVE-2019-12865","aliases":["ALPINE-CVE-2019-12865","EUVD-2019-4444","GHSA-4vc4-pm9p-xmjm","MGASA-2020-0024","UBUNTU-CVE-2019-12865"],"status":"published","title":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00932,"percentile":0.60919,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2019-06-17T22:49:04Z","modified":"2026-11-03T06:31:35Z","fixes":[{"ecosystem":"Alpine:v3.11","package":"radare2","fixed_in":["3.9.0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"radare2","fixed_in":["3.9.0-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.11","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-r0"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0-1.mga7"}]}],"bundled":4},{"source":"osv","ecosystem":"Mageia:7","package":"radare2-cutter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0-1.1.mga7"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1+dfsg-5build1","4.0.0+dfsg-1","4.2.1+dfsg-1","4.2.1+dfsg-2","4.2.1+dfsg-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.0+dfsg-1ubuntu1","5.5.0+dfsg-1.1ubuntu2","5.5.0+dfsg-1.1ubuntu3","5.5.0+dfsg-1.1ubuntu3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.8+dfsg-2","5.9.8+dfsg-2ubuntu0.25.10.1","5.9.8+dfsg-2ubuntu0.25.10.2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.7+ds-1","6.1.6+ds-2","6.1.6+ds-3","6.1.8+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.8+dfsg-2","6.0.4+dfsg-1","6.0.7+ds-1"]}],"products":[{"vendor":"radare","product":"radare2"}],"references":[{"url":"https://github.com/radare/radare2/issues/14334","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12865"},{"url":"https://github.com/advisories/GHSA-4vc4-pm9p-xmjm"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12865","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0024.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25933","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ED2UIZ5J7YYFFA2MPSMJ543U3DPEREVZ/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/RQO7V37RGQEKZDLY2JYKDZTLNN2YUBC5/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/PXQ6KYP4UMNSCJYHFT4TBIXLR2325SNS/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-12865","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12865","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-12865","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T22:49:04Z","modified":"2024-08-04T23:32:55.529Z","updated_at":"2026-11-02T14:20:24.025419Z"}],"euvd":[{"id":"EUVD-2019-4444","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T22:49:04Z","modified":"2024-08-04T23:32:55Z","updated_at":"2026-11-03T02:40:44.884887Z"}],"ghsa":[{"id":"GHSA-4vc4-pm9p-xmjm","title":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2022-05-24T22:00:07Z","modified":"2023-01-30T05:04:06Z","updated_at":"2026-11-02T14:46:58.413117Z"}],"nvd":[{"id":"CVE-2019-12865","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T23:15:13.13Z","modified":"2026-06-17T02:15:37.96Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:05:17.695191Z"}],"osv":[{"id":"ALPINE-CVE-2019-12865","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T23:15:13.13Z","modified":"2026-11-03T06:31:35.234143592Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"CVE-2019-12865","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T23:15:13.13Z","modified":"2026-10-20T10:50:40.64912795Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"UBUNTU-CVE-2019-12865","description":"In radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double free for the ms command.","status":"published","published":"2019-06-17T23:15:00Z","modified":"2026-10-17T12:55:37.981612635Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:19.202697Z"},{"id":"MGASA-2020-0024","title":"Updated radare2 packages fix security vulnerabilities","description":"Updated radare2 packages fix security vulnerabilities:\n\nIn radare2 through 3.5.1, there is a heap-based buffer over-read in the\nr_egg_lang_parsechar function of egg_lang.c. This allows remote attackers\nto cause a denial of service (application crash) or possibly have\nunspecified other impact because of missing length validation in\nlibr/egg/egg.c (CVE-2019-12790).\n\nIn radare2 through 3.5.1, the rcc_context function of libr/egg/egg_lang.c\nmishandles changing context. This allows remote attackers to cause a denial\nof service (application crash) or possibly have unspecified other impact\n(invalid memory access in r_egg_lang_parsechar; invalid free in rcc_pusharg)\n(CVE-2019-12802).\n\nIn radare2 through 3.5.1, cmd_mount in libr/core/cmd_mount.c has a double\nfree for the ms command (CVE-2019-12865).\n\nBy using a crafted executable file, it's possible to execute arbitrary\nshell commands with the permissions of the victim. This vulnerability is\ndue to improper handling of symbol names embedded in executables\n(CVE-2019-14745).\n\nThe radare2 package has been updated to version 3.9.0, fixing these issues\nand other bugs.\n\nAlso, the radare2-cutter package has been updated to version 1.9.0.\n","status":"published","published":"2020-01-07T21:19:56Z","modified":"2026-04-16T04:41:18.746002709Z","updated_at":"2026-11-02T15:49:41.151324Z"}]}}
