{"id":"UBUNTU-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":"2025-12-09T07:53:49.650867Z","published":"2022-08-19T23:15:00Z","upstream":["CVE-2020-27795"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27795"},{"type":"REPORT","url":"https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"},{"type":"REPORT","url":"https://github.com/radareorg/radare2/issues/16215"},{"type":"REPORT","url":"https://github.com/radareorg/radare2/pull/16230"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-27795"}],"affected":[{"package":{"name":"radare2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/radare2@0.9.6-3.1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-3.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-0.9.6","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"libradare2-common","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"libradare2-dev","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"radare2","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"radare2-plugins","binary_version":"0.9.6-3.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27795.json"}},{"package":{"name":"radare2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/radare2@2.3.0+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0+dfsg-1","2.0.0+dfsg-1","2.1.0+dfsg-1","2.3.0+dfsg-1","2.3.0+dfsg-2","2.3.0+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-2.3","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libradare2-common","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libradare2-dev","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"radare2","binary_version":"2.3.0+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27795.json"}},{"package":{"name":"radare2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/radare2@4.2.1+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1+dfsg-5build1","4.0.0+dfsg-1","4.2.1+dfsg-1","4.2.1+dfsg-2","4.2.1+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-4.2.1","binary_version":"4.2.1+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libradare2-common","binary_version":"4.2.1+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libradare2-dev","binary_version":"4.2.1+dfsg-2ubuntu0.1~esm1"},{"binary_name":"radare2","binary_version":"4.2.1+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27795.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}