What’s Vulnerable › Vulnerabilities
CVE-2022-1276: Out-of-bounds Read in mrb_get_args in mruby/mruby
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-10 · updated 2026-06-17
- Weakness: CWE-125
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.
Affected products
- mruby/mruby: before 3.2 — fixed in 3.2
How to fix
Upgrade to a fixed version: mruby/mruby 3.2. Check the vendor advisory for mitigations.
References
- https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6
- https://huntr.dev/bounties/6ea041d1-e2aa-472c-bf3e-da5fa8726c25
- https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6
- https://huntr.dev/bounties/6ea041d1-e2aa-472c-bf3e-da5fa8726c25
Get alerted when CVE-2022-1276 or the next vulnerability affects your stack