{"id":"CVE-2019-16718","details":"In radare2 before 3.9.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.","modified":"2026-04-11T12:42:16.684261Z","published":"2019-09-23T14:15:10.447Z","references":[{"type":"ADVISORY","url":"https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7"},{"type":"FIX","url":"https://github.com/radareorg/radare2/compare/3.8.0...3.9.0"},{"type":"FIX","url":"https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/radare/radare2","events":[{"introduced":"0"},{"fixed":"2afe613741d07f35a5d80bc4e2dade2113ae6a74"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.9.0"}]}},{"type":"GIT","repo":"https://github.com/radareorg/radare2","events":[{"introduced":"0"},{"fixed":"5411543a310a470b1257fb93273cdd6e8dfcb3af"},{"fixed":"dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.4-termux4","0.10.5","0.10.6","0.8.6","0.8.8","0.9","0.9.2","0.9.4","0.9.6","0.9.7","0.9.8","0.9.8-rc1","0.9.8-rc2","0.9.8-rc3","0.9.8-rc4","0.9.9","1.0","1.0.0","1.0.1","1.0.2","1.1.0","1.2.0","1.2.0-git","1.3.0","1.3.0-git","1.4.0","1.5.0","1.6.0","2.0.0","2.0.1","2.1.0","2.2.0","2.4.0","2.5.0","2.6.0","2.6.9","2.7.0","2.8.0","2.9.0","3.0.0","3.0.1","3.1.0","3.1.1","3.1.2","3.1.3","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.6.0","3.7.0","3.7.1","3.8.0","radare2-windows-nightly","termux"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16718.json","vanir_signatures":[{"deprecated":false,"target":{"file":"libr/core/cmd.c"},"source":"https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7","digest":{"line_hashes":["317488810962902592344445819136674902120","169866625871224724731512073221137884551","4269117821693612179544431679224963110","308241161931991606418629548940286326638","79127311771833399253728706101542289220","319637933649273731419112936991263528851","240612269648064862329691030475401667251","73085386569639581779180237792861462308","318526371614887852207008864056085256664","161557941339607733122696389635182555867","129292445152825761405057048662039317246","124133692657181207236947679391067088514","38530343760799359787036718555853910305","137443136584897030363067418202734259661"],"threshold":0.9},"signature_type":"Line","id":"CVE-2019-16718-0dbcfed0","signature_version":"v1"},{"deprecated":false,"target":{"file":"libr/core/cbin.c","function":"__filterShell"},"source":"https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af","digest":{"length":366,"function_hash":"280743037490226055905725479237311853190"},"signature_type":"Function","id":"CVE-2019-16718-62e7dcb3","signature_version":"v1"},{"deprecated":false,"target":{"file":"libr/core/cbin.c","function":"__filterQuotedShell"},"source":"https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af","digest":{"length":356,"function_hash":"260034411749770638762262674626475980159"},"signature_type":"Function","id":"CVE-2019-16718-82a12b35","signature_version":"v1"},{"deprecated":false,"target":{"file":"libr/core/cmd.c","function":"r_core_cmd_subst_i"},"source":"https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7","digest":{"length":21772,"function_hash":"243284532810005839889338553972637709995"},"signature_type":"Function","id":"CVE-2019-16718-dbd63f19","signature_version":"v1"},{"deprecated":false,"target":{"file":"libr/core/cbin.c","function":"bin_symbols"},"source":"https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af","digest":{"length":6729,"function_hash":"2673704822781323976305842750783050620"},"signature_type":"Function","id":"CVE-2019-16718-f23e17fe","signature_version":"v1"},{"deprecated":false,"target":{"file":"libr/core/cbin.c"},"source":"https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af","digest":{"line_hashes":["26629979593913050824136394948263581958","265363944661202372784511328726447108520","196087913314792962461625103550267854487","221735703426535949197927758456269034458","36931061305904637821137331584243097313","95044129979965714679564635027021774328","102117031119003826815596448875140707537","192042764460574034996692861831520396425","254190525944088301019561908631374612763","210439594222495300614012499021717015591","319074680812911121623032214433013011111","227287562667788158347355795966419938344","179217010051314134020445369876468483115","20609959487657234431763969435635951488","256558726414972598923909558971908050903","75579071210590032179963523880660791748","79050911796625798115967659306742871012","61114614083136717713550040186406438590","177401642275492397547073737766579230139","121437004344586728614784867182446446135","180897627712744405325692611054485545100","306971051652392862994389404070278176331","134901848439852684576396063726356710277"],"threshold":0.9},"signature_type":"Line","id":"CVE-2019-16718-f58cef60","signature_version":"v1"}],"vanir_signatures_modified":"2026-04-11T12:42:16Z"}}],"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"}]}