First published: Fri Aug 19 2022(Updated: )
A segmentation fault was discovered in radare2 with adf command. In libr/core/cmd_anal.c, when command "adf" has no or wrong argument, anal_fcn_data (core, input + 1) --> RAnalFunction *fcn = r_anal_get_fcn_in (core->anal, core->offset, -1); returns null pointer for fcn causing segmentation fault later in ensure_fcn_range (fcn).
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Radare Radare2 | <4.4.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-27795 is a vulnerability discovered in radare2 with the adf command, which can lead to a segmentation fault.
CVE-2020-27795 has a severity level of 7.5 (high).
CVE-2020-27795 affects Radare Radare2 version 4.4.0 and prior.
To fix CVE-2020-27795, it is recommended to update Radare Radare2 to a version later than 4.4.0.
More information about CVE-2020-27795 can be found in the references provided: [GitHub Commit](https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22), [GitHub Issue](https://github.com/radareorg/radare2/issues/16215), [GitHub Pull Request](https://github.com/radareorg/radare2/pull/16230).