What’s Vulnerable › Vulnerabilities
CVE-2020-27795
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-19 · updated 2026-06-17
- Weakness: CWE-908
Description
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).
Affected products
- radareorg/radare2: before 4.4.0 — fixed in 4.4.0
How to fix
Upgrade to a fixed version: radareorg/radare2 4.4.0. Check the vendor advisory for mitigations.
References
- https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22
- https://github.com/radareorg/radare2/issues/16215
- https://github.com/radareorg/radare2/pull/16230
- https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22
- https://github.com/radareorg/radare2/issues/16215
- https://github.com/radareorg/radare2/pull/16230
Get alerted when CVE-2020-27795 or the next vulnerability affects your stack