{"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-04-11T11:23:32.181536Z","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/radare/radare2","events":[{"introduced":"0"},{"fixed":"9ea0b7ce566cfdcfb3513f407c4056915204294a"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"4.4.0"}]}},{"type":"GIT","repo":"https://github.com/radareorg/radare2","events":[{"introduced":"0"},{"fixed":"4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.4-termux4","0.10.5","0.10.6","0.8.6","0.8.8","0.9","0.9.2","0.9.4","0.9.6","0.9.7","0.9.8","0.9.8-rc1","0.9.8-rc2","0.9.8-rc3","0.9.8-rc4","0.9.9","1.0","1.0.0","1.0.1","1.0.2","1.1.0","1.2.0","1.2.0-git","1.3.0","1.3.0-git","1.4.0","1.5.0","1.6.0","2.0.0","2.0.1","2.1.0","2.2.0","2.4.0","2.5.0","2.6.0","2.6.9","2.7.0","2.8.0","2.9.0","3.0.0","3.0.1","3.1.0","3.1.1","3.1.2","3.1.3","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.6.0","3.7.0","3.7.1","3.8.0","3.9.0","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","4.3.1","Continuous-Windows","continuous","radare2-windows-nightly","termux"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27795.json","vanir_signatures_modified":"2026-04-11T11:23:32Z","vanir_signatures":[{"deprecated":false,"target":{"function":"fcn_recurse","file":"libr/anal/fcn.c"},"id":"CVE-2020-27795-231ef07b","source":"https://github.com/radare/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a","signature_type":"Function","signature_version":"v1","digest":{"length":19258,"function_hash":"244292947791401580523619951343614918559"}},{"deprecated":false,"target":{"function":"anal_fcn_data","file":"libr/core/cmd_anal.c"},"id":"CVE-2020-27795-46513850","source":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22","signature_type":"Function","signature_version":"v1","digest":{"length":912,"function_hash":"153811291681858866890748504907429968725"}},{"deprecated":false,"target":{"file":"libr/core/cmd_anal.c"},"id":"CVE-2020-27795-841f8d8f","source":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22","signature_type":"Line","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["100464344030729871496165300642673981437","73113114410150525543880411625266152214","111715125701439507073808871086794204942","161579852477131995059536291927356476144","150296636395438446294821280233559665312","65067218025666577534089885201128513288","203771247590070340598362029268293507601","91292196033182014457078193604466819019","46529597240874676867024021624294832691"]}},{"deprecated":false,"target":{"file":"libr/anal/fcn.c"},"id":"CVE-2020-27795-dd8f2939","source":"https://github.com/radare/radare2/commit/9ea0b7ce566cfdcfb3513f407c4056915204294a","signature_type":"Line","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["274805908220688149522755239760777672229","119466392069489334944469399236725859120","33443597288417089084816862781691635747","274718893259183668102575589565194103045"]}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}