Description
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.2, attacker-controlled data from several binary format plugins could reach RBinInfo->bclass. Opening or analyzing a crafted Pebble or Sega Mega Drive binary could place a dbg:// URI in bclass, causing radare2 to reopen the input through the debug input/output plugin and ultimately pass attacker-controlled arguments to execvp(). This could execute commands with the privileges of the radare2 process without an explicit debugging command. This issue is fixed in version 6.2.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| radareorg | radare2 | < 6.2.2 | — |
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 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 | — |
References
- https://github.com/radareorg/radare2/security/advisories/GHSA-px7c-gwvj-73vf
- https://github.com/radareorg/radare2/issues/26600
- https://github.com/radareorg/radare2/commit/59899e6b8b18772ce9460b4caa2ced7f257fae76
- https://github.com/radareorg/radare2/commit/c9de154cafd788d66535435e43ad6a54aed7ea2a
- https://github.com/radareorg/radare2/releases/tag/6.2.2