Vulnerability · Published Aug 19, 2022 · Assigned by redhat

CVE-2020-27795

High 7.5

In plain English

A high-severity security flaw in radare2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.6%top 24.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20radare24.4.0-r0ALPINE-CVE-2020-27795
Alpine:v3.21radare24.4.0-r0ALPINE-CVE-2020-27795
Alpine:v3.22radare24.4.0-r0ALPINE-CVE-2020-27795
Alpine:v3.23radare24.4.0-r0ALPINE-CVE-2020-27795
Alpine:v3.24radare24.4.0-r0ALPINE-CVE-2020-27795

Affected products (as reported)

VendorProductVersions
n/a radare2 Fixed in v4.4.0.

Weakness: CWE-908

References