CVE-2020-27795
NixOS vulnerability analysis and mitigation

Overview

A segmentation fault vulnerability was discovered in radare2 with the adf command (CVE-2020-27795). The issue exists in libr/core/cmd_anal.c, where when the 'adf' command is used with no or wrong arguments, the anal_fcn_data function returns a null pointer for fcn, causing a segmentation fault in ensure_fcn_range function. This vulnerability affects versions up to (excluding) 4.4.0 (NVD).

Technical details

The vulnerability occurs in the anal_fcn_data function within libr/core/cmd_anal.c. When executing the adf command without proper arguments, the function r_anal_get_fcn_in(core->anal, core->offset, -1) returns a null pointer, which later causes a segmentation fault in ensure_fcn_range(fcn). The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 HIGH with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability leads to a segmentation fault, causing the application to crash. This results in a denial of service condition, affecting the availability of the radare2 system (NVD).

Exploitability

The vulnerability can be triggered by simply executing the 'adf' command without arguments or with incorrect arguments in radare2. The proof of concept is straightforward: launching r2 and executing 'adf' command will result in a segmentation fault (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in radare2 version 4.4.0. The fix involves modifying the r_anal_get_fcn_in function call to include R_ANAL_FCN_TYPE_ANY as a parameter instead of -1, and restructuring the code to handle the fcn_size calculation after validating that fcn is not null (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • headlamp-fips
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • argo-workflows-3.7
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management