Description
In radare2 before 3.7.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 improper handling of symbol names embedded in executables.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | radare2 | No fix yet | — |
| Ubuntu 26.04 LTS | radare2 | No fix yet | — |
| Ubuntu 25.10 | radare2 | No fix yet | — |
| Ubuntu 16.04 LTS | radare2 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | radare2 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | radare2 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | radare2 | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | radare2 | 3.9.0-r0 | — |
| Alpine v3.23 | radare2 | 3.9.0-r0 | — |
| Alpine v3.22 | radare2 | 3.9.0-r0 | — |
| Alpine v3.21 | radare2 | 3.9.0-r0 | — |
| Alpine v3.20 | radare2 | 3.9.0-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | radare2 | 3.9.0-r0 | — |
| Alpine v3.18 | radare2 | 3.9.0-r0 | — |
| Alpine v3.17 | radare2 | 3.9.0-r0 | — |
| Alpine v3.16 | radare2 | 3.9.0-r0 | — |
| Alpine v3.15 | radare2 | 3.9.0-r0 | — |
| Alpine v3.14 | radare2 | 3.9.0-r0 | — |
| Alpine v3.13 | radare2 | 3.9.0-r0 | — |
| Alpine v3.12 | radare2 | 3.9.0-r0 | — |
| Alpine v3.11 | radare2 | 3.9.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
xooxo/CVE-2019-14745 ★ 2 · Nov 4, 2019
weaponized radare2 vulnerability found by @CaptnBanana and blenk92
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://bananamafia.dev/post/r2-pwndebian/
- https://github.com/radare/radare2/pull/14690
- https://github.com/radare/radare2/releases/tag/3.7.0
- FEDORA-2019-e931422a81 vendor-advisory
- FEDORA-2019-b3de19c346 vendor-advisory
- FEDORA-2019-65c33bdc2a vendor-advisory