What’s Vulnerable › Vulnerabilities
CVE-2022-1286: heap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mruby
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-10 · updated 2026-06-17
- Weakness: CWE-122
Description
heap-buffer-overflow in mrb_vm_exec in mruby/mruby 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/b1d0296a937fe278239bdfac840a3fd0e93b3ee9
- https://huntr.dev/bounties/f918376e-b488-4113-963d-ffe8716e4189
- https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9
- https://huntr.dev/bounties/f918376e-b488-4113-963d-ffe8716e4189
Get alerted when CVE-2022-1286 or the next vulnerability affects your stack