High
Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-27795
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:38 UTC · Revision 1
Source evidence
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).
osv:CVE-2020-27795
Complete source record
{
"id": "b0a4ba8e523b54f4576d0ed0c72dfd8e5ec48353923376e25b2d54286cca89a0",
"url": "https://osv.dev/vulnerability/CVE-2020-27795",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-27795",
"summary": "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).",
"evidence": "osv:CVE-2020-27795",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-27795",
"aliases": [
"CVE-2020-27795"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/radareorg/radare2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9ea0b7ce566cfdcfb3513f407c4056915204294a"
},
{
"fixed": "4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.3.1",
"Continuous-Windows",
"4.3.0",
"continuous",
"4.2.1",
"4.2.0",
"4.1.1",
"4.1.0",
"4.0.0",
"3.9.0",
"3.8.0",
"3.7.1",
"3.7.0",
"3.6.0",
"3.5.1",
"3.5.0",
"3.4.1",
"3.4.0",
"3.3.0",
"3.2.1",
"3.2.0",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.1",
"3.0.0",
"2.9.0",
"2.8.0",
"2.7.0",
"2.6.9",
"2.6.0",
"2.5.0",
"2.4.0",
"2.2.0",
"2.1.0",
"2.0.1",
"2.0.0",
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.0",
"1.3.0-git",
"1.2.0",
"1.2.0-git",
"1.1.0",
"1.0.2",
"1.0.1",
"1.0.0",
"1.0",
"0.10.6",
"0.10.5",
"0.10.4-termux4",
"termux",
"0.10.4",
"0.10.3",
"0.10.2",
"0.10.1",
"0.10.0",
"radare2-windows-nightly",
"0.9.9",
"0.9.8",
"0.9.8-rc4",
"0.9.8-rc3",
"0.9.8-rc2",
"0.9.8-rc1",
"0.9.7",
"0.9.6",
"0.9.4",
"0.9.2",
"0.9",
"0.8.8",
"0.8.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27795.json",
"vanir_signatures": [
{
"id": "CVE-2020-27795-46513850",
"digest": {
"length": 912,
"function_hash": "153811291681858866890748504907429968725"
},
"source": "https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22",
"target": {
"file": "libr/core/cmd_anal.c",
"function": "anal_fcn_data"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-27795-4f2b678a",
"digest": {
"length": 19258,
"function_hash": "244292947791401580523619951343614918559"
},
"source": "https://github.com/radareorg/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a",
"target": {
"file": "libr/anal/fcn.c",
"function": "fcn_recurse"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-27795-841f8d8f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"100464344030729871496165300642673981437",
"73113114410150525543880411625266152214",
"111715125701439507073808871086794204942",
"161579852477131995059536291927356476144",
"150296636395438446294821280233559665312",
"65067218025666577534089885201128513288",
"203771247590070340598362029268293507601",
"91292196033182014457078193604466819019",
"46529597240874676867024021624294832691"
]
},
"source": "https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22",
"target": {
"file": "libr/core/cmd_anal.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-27795-93100de4",
"digest": {
"threshold": 0.9,
"line_hashes": [
"274805908220688149522755239760777672229",
"119466392069489334944469399236725859120",
"33443597288417089084816862781691635747",
"274718893259183668102575589565194103045"
]
},
"source": "https://github.com/radareorg/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a",
"target": {
"file": "libr/anal/fcn.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:08:50Z"
}
}
],
"modified": "2026-10-20T14:08:50.495128820Z",
"provider": "osv",
"references": [
"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22",
"https://github.com/radareorg/radare2/issues/16215",
"https://github.com/radareorg/radare2/pull/16230"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-27795",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388584,
"published_at": "2022-08-19T23:15:08.487+00:00"
}