Vulnerability · Published Mar 27, 2022 · Assigned by @huntrdev
CVE-2022-1106use after free in mrb_vm_exec in mruby/mruby
High 7.2
In plain English
A high-severity use-after-free in mruby/mruby from mruby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.2High
Exploit odds (30 days)1.0%top 37.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1106 |
| Alpine:v3.21 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1106 |
| Alpine:v3.22 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1106 |
| Alpine:v3.23 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1106 |
| Alpine:v3.24 | mruby | 3.1.0-r0 | ALPINE-CVE-2022-1106 |
| Ubuntu:22.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1106 |
| Ubuntu:24.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1106 |
| Ubuntu:25.10 | mruby | no fix listed | UBUNTU-CVE-2022-1106 |
| Ubuntu:26.04:LTS | mruby | no fix listed | UBUNTU-CVE-2022-1106 |
| Ubuntu:26.10 | mruby | no fix listed | UBUNTU-CVE-2022-1106 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby/mruby | unspecified – before 3.2 |
Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
References
- https://huntr.dev/bounties/16b9d0ea-71ed-41bc-8a88-2deb4c20be8f x_refsource_CONFIRM
- https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c x_refsource_MISC