{"id":"CVE-2020-27795","details":"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) --\u003e RAnalFunction *fcn = r_anal_get_fcn_in (core-\u003eanal, core-\u003eoffset, -1); returns null pointer for fcn causing segmentation fault later in ensure_fcn_range (fcn).","modified":"2026-08-07T15:12:27.909410Z","published":"2022-08-19T23:15:08.487Z","references":[{"type":"FIX","url":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"},{"type":"FIX","url":"https://github.com/radareorg/radare2/issues/16215"},{"type":"FIX","url":"https://github.com/radareorg/radare2/pull/16230"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/radareorg/radare2","events":[{"introduced":"0"},{"fixed":"9ea0b7ce566cfdcfb3513f407c4056915204294a"},{"fixed":"4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"}],"database_specific":{"cpe":"cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.4.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"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":{"vanir_signatures":[{"signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22","target":{"file":"libr/core/cmd_anal.c","function":"anal_fcn_data"},"deprecated":false,"digest":{"function_hash":"153811291681858866890748504907429968725","length":912},"id":"CVE-2020-27795-46513850","signature_type":"Function"},{"source":"https://github.com/radareorg/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a","target":{"function":"fcn_recurse","file":"libr/anal/fcn.c"},"deprecated":false,"digest":{"function_hash":"244292947791401580523619951343614918559","length":19258},"id":"CVE-2020-27795-4f2b678a","signature_type":"Function","signature_version":"v1"},{"deprecated":false,"digest":{"line_hashes":["100464344030729871496165300642673981437","73113114410150525543880411625266152214","111715125701439507073808871086794204942","161579852477131995059536291927356476144","150296636395438446294821280233559665312","65067218025666577534089885201128513288","203771247590070340598362029268293507601","91292196033182014457078193604466819019","46529597240874676867024021624294832691"],"threshold":0.9},"id":"CVE-2020-27795-841f8d8f","signature_type":"Line","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22","target":{"file":"libr/core/cmd_anal.c"}},{"source":"https://github.com/radareorg/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a","target":{"file":"libr/anal/fcn.c"},"deprecated":false,"digest":{"line_hashes":["274805908220688149522755239760777672229","119466392069489334944469399236725859120","33443597288417089084816862781691635747","274718893259183668102575589565194103045"],"threshold":0.9},"id":"CVE-2020-27795-93100de4","signature_type":"Line","signature_version":"v1"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27795.json","vanir_signatures_modified":"2026-08-07T15:12:27Z"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}