{"id":"CVE-2019-12790","aliases":["ALPINE-CVE-2019-12790","EUVD-2019-4373","GHSA-599w-55gq-8q3f","MGASA-2020-0024","UBUNTU-CVE-2019-12790"],"status":"published","title":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar...","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01671,"percentile":0.76972,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-06-10T18:41:59Z","modified":"2026-11-03T06:31:34Z","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:16.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-3.1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"radare2","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"]},{"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/14211","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/SX4TLTE75VYUGSPYEKMYFPUZMRDIR7O2/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"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-12790"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IEXZWAMVKGZKHALV4IVWQS2ORJKRH57U"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SX4TLTE75VYUGSPYEKMYFPUZMRDIR7O2"},{"url":"https://github.com/advisories/GHSA-599w-55gq-8q3f"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12790","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-12790","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12790","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-12790","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T18:41:59Z","modified":"2024-08-04T23:32:54.66Z","updated_at":"2026-11-02T14:20:24.025419Z"}],"euvd":[{"id":"EUVD-2019-4373","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T18:41:59Z","modified":"2024-08-04T23:32:54Z","updated_at":"2026-11-03T02:40:44.884887Z"}],"ghsa":[{"id":"GHSA-599w-55gq-8q3f","title":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar...","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2022-05-24T16:47:42Z","modified":"2024-04-04T00:54:55Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:53.307931Z"}],"nvd":[{"id":"CVE-2019-12790","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T19:29:00.7Z","modified":"2026-06-17T02:15:28.97Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:16.285679Z"}],"osv":[{"id":"ALPINE-CVE-2019-12790","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T19:29:00.7Z","modified":"2026-11-03T06:31:34.984230786Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"CVE-2019-12790","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T19:29:00.7Z","modified":"2026-10-20T10:51:36.822658163Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"UBUNTU-CVE-2019-12790","description":"In radare2 through 3.5.1, there is a heap-based buffer over-read in the r_egg_lang_parsechar function of egg_lang.c. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact because of missing length validation in libr/egg/egg.c.","status":"published","published":"2019-06-10T19:29:00Z","modified":"2026-10-17T12:55:32.749991711Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"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"}]}}
