Vendor CVEs
Mruby
All CVEs
43 total · sorted by risk| CVE | Vendor / Product | Sev | Risk | CVSS | EPSS | KEV | Published | Description |
|---|---|---|---|---|---|---|---|---|
| CVE-2017-9527 | Hig | 0.51 | 7.8 | 0.01 | Jun 11, 2017 | The mark_context_stack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file. | ||
| CVE-2018-14337 | Hig | 0.49 | 7.5 | 0.01 | Jul 17, 2018 | The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length. | ||
| CVE-2026-1979 | Med | 0.27 | 5.3 | 0.00 | Feb 6, 2026 | A flaw has been found in mruby up to 3.4.0. This affects the function mrb_vm_exec of the file src/vm.c of the component JMPNOT-to-JMPIF Optimization. Executing a manipulation can lead to use after free. The attack needs to be launched locally. The exploit has been published and… | ||
| CVE-2025-13120 | Med | 0.27 | 5.3 | 0.00 | Nov 13, 2025 | A vulnerability has been found in mruby up to 3.4.0. This vulnerability affects the function sort_cmp of the file src/array.c. Such manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The… | ||
| CVE-2025-12875 | Med | 0.27 | 5.3 | 0.00 | Nov 7, 2025 | A weakness has been identified in mruby 3.4.0. This vulnerability affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. Executing a manipulation of the argument start/length can lead to out-of-bounds write. The attack needs to be launched locally.… | ||
| CVE-2025-7207 | Low | 0.21 | 3.3 | 0.00 | Jul 9, 2025 | A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbgems/mruby-compiler/core/codegen.c of the component nregs Handler. The manipulation leads to heap-based buffer overflow. An attack has to… | ||
| CVE-2025-13397 | 0.00 | — | 0.00 | Nov 19, 2025 | A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbc_raw_realloc of the file src/alloc.c. Such manipulation of the argument ptr leads to null pointer dereference. An attack has to be approached locally. The name of the patch is… | |||
| CVE-2021-46023 | 0.00 | — | 0.01 | Feb 14, 2023 | An Untrusted Pointer Dereference was discovered in function mrb_vm_exec in mruby before 3.1.0-rc. The vulnerability causes a segmentation fault and application crash. | |||
| CVE-2022-1934 | 0.00 | — | 0.00 | May 31, 2022 | Use After Free in GitHub repository mruby/mruby prior to 3.2. | |||
| CVE-2022-1427 | 0.00 | — | 0.00 | Apr 22, 2022 | Out-of-bounds Read in mrb_obj_is_kind_of in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited. | |||
| CVE-2022-1286 | 0.00 | — | 0.01 | Apr 10, 2022 | 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. | |||
| CVE-2022-1276 | 0.00 | — | 0.01 | Apr 10, 2022 | Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited. | |||
| CVE-2022-1212 | 0.00 | — | 0.02 | Apr 5, 2022 | Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited. | |||
| CVE-2022-1201 | 0.00 | — | 0.00 | Apr 2, 2022 | NULL Pointer Dereference in mrb_vm_exec with super in GitHub repository mruby/mruby prior to 3.2. This vulnerability is capable of making the mruby interpreter crash, thus affecting the availability of the system. | |||
| CVE-2022-1106 | 0.00 | — | 0.01 | Mar 27, 2022 | use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2. | |||
| CVE-2022-1071 | 0.00 | — | 0.01 | Mar 26, 2022 | User after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2. | |||
| CVE-2022-0890 | 0.00 | — | 0.01 | Mar 10, 2022 | NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2. | |||
| CVE-2022-0717 | 0.00 | — | 0.01 | Feb 23, 2022 | Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2. | |||
| CVE-2022-0632 | 0.00 | — | 0.01 | Feb 19, 2022 | NULL Pointer Dereference in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0630 | 0.00 | — | 0.01 | Feb 19, 2022 | Out-of-bounds Read in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0631 | 0.00 | — | 0.01 | Feb 18, 2022 | Heap-based Buffer Overflow in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0623 | 0.00 | — | 0.02 | Feb 17, 2022 | Out-of-bounds Read in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0614 | 0.00 | — | 0.01 | Feb 16, 2022 | Use of Out-of-range Pointer Offset in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0570 | 0.00 | — | 0.01 | Feb 13, 2022 | Heap-based Buffer Overflow in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0525 | 0.00 | — | 0.01 | Feb 9, 2022 | Out-of-bounds Read in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0481 | 0.00 | — | 0.01 | Feb 4, 2022 | NULL Pointer Dereference in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0326 | 0.00 | — | 0.01 | Jan 21, 2022 | NULL Pointer Dereference in Homebrew mruby prior to 3.2. | |||
| CVE-2022-0240 | 0.00 | — | 0.01 | Jan 17, 2022 | mruby is vulnerable to NULL Pointer Dereference | |||
| CVE-2021-46020 | 0.00 | — | 0.01 | Jan 14, 2022 | An untrusted pointer dereference in mrb_vm_exec() of mruby v3.0.0 can lead to a segmentation fault or application crash. | |||
| CVE-2022-0080 | 0.00 | — | 0.01 | Jan 2, 2022 | mruby is vulnerable to Heap-based Buffer Overflow | |||
| CVE-2021-4188 | 0.00 | — | 0.01 | Dec 30, 2021 | mruby is vulnerable to NULL Pointer Dereference | |||
| CVE-2021-4110 | 0.00 | — | 0.02 | Dec 15, 2021 | mruby is vulnerable to NULL Pointer Dereference | |||
| CVE-2020-36401 | 0.00 | — | 0.01 | Jul 1, 2021 | mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free). | |||
| CVE-2020-15866 | 0.00 | — | 0.02 | Jul 21, 2020 | mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function. | |||
| CVE-2020-6838 | 0.00 | — | 0.01 | Jan 11, 2020 | In mruby 2.1.0, there is a use-after-free in hash_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c. | |||
| CVE-2020-6839 | 0.00 | — | 0.01 | Jan 11, 2020 | In mruby 2.1.0, there is a stack-based buffer overflow in mrb_str_len_to_dbl in string.c. | |||
| CVE-2020-6840 | 0.00 | — | 0.02 | Jan 11, 2020 | In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c. | |||
| CVE-2018-12249 | Hig | 0.00 | 7.5 | 0.02 | Jun 12, 2018 | An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c. | ||
| CVE-2018-12248 | Hig | 0.00 | 7.5 | 0.02 | Jun 12, 2018 | An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber. | ||
| CVE-2018-12247 | Hig | 0.00 | 7.5 | 0.02 | Jun 12, 2018 | An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class, related to certain .clone usage, because mrb_obj_clone in kernel.c copies flags other than the MRB_FLAG_IS_FROZEN flag (e.g., the embedded flag). | ||
| CVE-2018-11743 | Cri | 0.00 | 9.8 | 0.02 | Jun 5, 2018 | The init_copy function in kernel.c in mruby 1.4.1 makes initialize_copy calls for TT_ICLASS objects, which allows attackers to cause a denial of service (mrb_hash_keys uninitialized pointer and application crash) or possibly have unspecified other impact. | ||
| CVE-2018-10199 | Cri | 0.00 | 9.8 | 0.02 | Apr 18, 2018 | In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code. | ||
| CVE-2018-10191 | Cri | 0.00 | 9.8 | 0.03 | Apr 17, 2018 | In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when handling OP_GETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute… |
- risk 0.51cvss 7.8epss 0.01
The mark_context_stack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file.
- risk 0.49cvss 7.5epss 0.01
The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.
- risk 0.27cvss 5.3epss 0.00
A flaw has been found in mruby up to 3.4.0. This affects the function mrb_vm_exec of the file src/vm.c of the component JMPNOT-to-JMPIF Optimization. Executing a manipulation can lead to use after free. The attack needs to be launched locally. The exploit has been published and…
- risk 0.27cvss 5.3epss 0.00
A vulnerability has been found in mruby up to 3.4.0. This vulnerability affects the function sort_cmp of the file src/array.c. Such manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The…
- risk 0.27cvss 5.3epss 0.00
A weakness has been identified in mruby 3.4.0. This vulnerability affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. Executing a manipulation of the argument start/length can lead to out-of-bounds write. The attack needs to be launched locally.…
- risk 0.21cvss 3.3epss 0.00
A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbgems/mruby-compiler/core/codegen.c of the component nregs Handler. The manipulation leads to heap-based buffer overflow. An attack has to…
- CVE-2025-13397Nov 19, 2025risk 0.00cvss —epss 0.00
A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbc_raw_realloc of the file src/alloc.c. Such manipulation of the argument ptr leads to null pointer dereference. An attack has to be approached locally. The name of the patch is…
- CVE-2021-46023Feb 14, 2023risk 0.00cvss —epss 0.01
An Untrusted Pointer Dereference was discovered in function mrb_vm_exec in mruby before 3.1.0-rc. The vulnerability causes a segmentation fault and application crash.
- CVE-2022-1934May 31, 2022risk 0.00cvss —epss 0.00
Use After Free in GitHub repository mruby/mruby prior to 3.2.
- CVE-2022-1427Apr 22, 2022risk 0.00cvss —epss 0.00
Out-of-bounds Read in mrb_obj_is_kind_of in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited.
- CVE-2022-1286Apr 10, 2022risk 0.00cvss —epss 0.01
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.
- CVE-2022-1276Apr 10, 2022risk 0.00cvss —epss 0.01
Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
- CVE-2022-1212Apr 5, 2022risk 0.00cvss —epss 0.02
Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
- CVE-2022-1201Apr 2, 2022risk 0.00cvss —epss 0.00
NULL Pointer Dereference in mrb_vm_exec with super in GitHub repository mruby/mruby prior to 3.2. This vulnerability is capable of making the mruby interpreter crash, thus affecting the availability of the system.
- CVE-2022-1106Mar 27, 2022risk 0.00cvss —epss 0.01
use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
- CVE-2022-1071Mar 26, 2022risk 0.00cvss —epss 0.01
User after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
- CVE-2022-0890Mar 10, 2022risk 0.00cvss —epss 0.01
NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2.
- CVE-2022-0717Feb 23, 2022risk 0.00cvss —epss 0.01
Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2.
- CVE-2022-0632Feb 19, 2022risk 0.00cvss —epss 0.01
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
- CVE-2022-0630Feb 19, 2022risk 0.00cvss —epss 0.01
Out-of-bounds Read in Homebrew mruby prior to 3.2.
- CVE-2022-0631Feb 18, 2022risk 0.00cvss —epss 0.01
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
- CVE-2022-0623Feb 17, 2022risk 0.00cvss —epss 0.02
Out-of-bounds Read in Homebrew mruby prior to 3.2.
- CVE-2022-0614Feb 16, 2022risk 0.00cvss —epss 0.01
Use of Out-of-range Pointer Offset in Homebrew mruby prior to 3.2.
- CVE-2022-0570Feb 13, 2022risk 0.00cvss —epss 0.01
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
- CVE-2022-0525Feb 9, 2022risk 0.00cvss —epss 0.01
Out-of-bounds Read in Homebrew mruby prior to 3.2.
- CVE-2022-0481Feb 4, 2022risk 0.00cvss —epss 0.01
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
- CVE-2022-0326Jan 21, 2022risk 0.00cvss —epss 0.01
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
- CVE-2022-0240Jan 17, 2022risk 0.00cvss —epss 0.01
mruby is vulnerable to NULL Pointer Dereference
- CVE-2021-46020Jan 14, 2022risk 0.00cvss —epss 0.01
An untrusted pointer dereference in mrb_vm_exec() of mruby v3.0.0 can lead to a segmentation fault or application crash.
- CVE-2022-0080Jan 2, 2022risk 0.00cvss —epss 0.01
mruby is vulnerable to Heap-based Buffer Overflow
- CVE-2021-4188Dec 30, 2021risk 0.00cvss —epss 0.01
mruby is vulnerable to NULL Pointer Dereference
- CVE-2021-4110Dec 15, 2021risk 0.00cvss —epss 0.02
mruby is vulnerable to NULL Pointer Dereference
- CVE-2020-36401Jul 1, 2021risk 0.00cvss —epss 0.01
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
- CVE-2020-15866Jul 21, 2020risk 0.00cvss —epss 0.02
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.
- CVE-2020-6838Jan 11, 2020risk 0.00cvss —epss 0.01
In mruby 2.1.0, there is a use-after-free in hash_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c.
- CVE-2020-6839Jan 11, 2020risk 0.00cvss —epss 0.01
In mruby 2.1.0, there is a stack-based buffer overflow in mrb_str_len_to_dbl in string.c.
- CVE-2020-6840Jan 11, 2020risk 0.00cvss —epss 0.02
In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c.
- risk 0.00cvss 7.5epss 0.02
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- risk 0.00cvss 7.5epss 0.02
An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.
- risk 0.00cvss 7.5epss 0.02
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class, related to certain .clone usage, because mrb_obj_clone in kernel.c copies flags other than the MRB_FLAG_IS_FROZEN flag (e.g., the embedded flag).
- risk 0.00cvss 9.8epss 0.02
The init_copy function in kernel.c in mruby 1.4.1 makes initialize_copy calls for TT_ICLASS objects, which allows attackers to cause a denial of service (mrb_hash_keys uninitialized pointer and application crash) or possibly have unspecified other impact.
- risk 0.00cvss 9.8epss 0.02
In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code.
- risk 0.00cvss 9.8epss 0.03
In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when handling OP_GETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute…