CVE-2022-1286
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mruby
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.9
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mruby
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.
- Record
CVE-2022-1286- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2022-24616
5.9
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.
- Record
EUVD-2022-24616- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6c7w-5xfj-j2mc
9.8
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in GitHub repository mruby/mruby prior to 3.2....
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.
- Record
GHSA-6c7w-5xfj-j2mc- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2022-1286- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSV
5.9
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mruby
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.
- Record
CVE-2022-1286- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-1286
9.8
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.
- Record
DEBIAN-CVE-2022-1286- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-1286
9.8
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.
- Record
UBUNTU-CVE-2022-1286- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12024-1 No score
libmruby3_0_0-3.0.0-6.1 on GA media
These are all security issues fixed in the libmruby3_0_0-3.0.0-6.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12024-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mrubyDebian:12 |
before 3.0.0-4 | 3.0.0-4 |
mrubyDebian:13 |
before 3.0.0-4 | 3.0.0-4 |
mrubyDebian:14 |
before 3.0.0-4 | 3.0.0-4 |
mrubyUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.0+20150817+gita1731254-11.1.0+20150906+git1cbbb7e1-11.2.0+20160315+git4f20d58a-1 |
None known |
mrubyUbuntu:18.04:LTS |
All versions, plus listed versions 1.3.0-11.3.0+20170925+git38185028-11.3.0+20171029+git77edafb0-11.4.0-1 |
None known |
mrubyUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.0-1 |
None known |
mrubyUbuntu:22.04:LTS |
All versions, plus listed versions 2.1.2-33.0.0-13.0.0-3 |
None known |
mrubyUbuntu:24.04:LTS |
All versions, plus listed versions 3.2.0-13.2.0-2 |
None known |
mrubyUbuntu:25.10 |
All versions, plus listed versions 3.3.0-1 |
None known |
mrubyUbuntu:26.10 |
All versions, plus listed versions 3.4.0-23.4.0-34.0.0-1 |
None known |
mrubyUbuntu:26.04:LTS |
All versions, plus listed versions 3.3.0-13.4.0-2 |
None known |
mrubyopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 3.0.0-6.1 | 3.0.0-6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-1286 is a medium vulnerability (CVSS 5.9) in Mruby, published April 10, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.18%, the 67th percentile. Fixed in mruby 3.0.0-4.
References
huntr.dev/bounties/f918376e-b488-4113-963d-ffe8716e4189
github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9
nvd.nist.gov/vuln/detail/CVE-2022-1286
github.com/advisories/GHSA-6c7w-5xfj-j2mc
github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1286.json
security-tracker.debian.org/tracker/CVE-2022-1286