Mruby

35 CVEs across 2 Mruby products. Browse Mruby vulnerabilities, severities, and proof-of-concept exploits.

Mruby products with known CVEs

ProductCVEs
Mruby42
Mruby/mruby23
Mruby CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-1979Medium5.32026-02-06A 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…
CVE-2025-13120Medium5.32025-11-13A 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 a…
CVE-2025-12875Medium5.32025-11-07A 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…
CVE-2025-7207Low3.32025-07-09A 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…
CVE-2021-46023High7.52023-02-14An 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…
CVE-2022-1934High7.82022-05-31Use After Free in GitHub repository mruby/mruby prior to 3.2.
CVE-2022-1427High7.82022-04-23Out-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-1286Critical9.82022-04-10heap-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-1276Critical9.82022-04-10Out-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-1212Critical9.82022-04-05Use-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-1201Medium6.52022-04-02NULL 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…
CVE-2022-1106Critical9.12022-03-27use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
CVE-2022-1071High8.22022-03-26User after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
CVE-2022-0890Medium5.52022-03-10NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2.
CVE-2022-0717Critical9.12022-02-23Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2.
CVE-2022-0632Medium5.52022-02-19NULL Pointer Dereference in Homebrew mruby prior to 3.2.
CVE-2022-0630High7.12022-02-19Out-of-bounds Read in Homebrew mruby prior to 3.2.
CVE-2022-0631Critical9.82022-02-18Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
CVE-2022-0623Critical9.12022-02-17Out-of-bounds Read in Homebrew mruby prior to 3.2.
CVE-2022-0614Medium5.52022-02-16Use of Out-of-range Pointer Offset in Homebrew mruby prior to 3.2.
CVE-2022-0570Critical9.82022-02-14Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
CVE-2022-0525Critical9.12022-02-09Out-of-bounds Read in Homebrew mruby prior to 3.2.
CVE-2022-0481High7.52022-02-04NULL Pointer Dereference in Homebrew mruby prior to 3.2.
CVE-2022-0326Medium5.52022-01-21NULL Pointer Dereference in Homebrew mruby prior to 3.2.
CVE-2022-0240High7.52022-01-17mruby is vulnerable to NULL Pointer Dereference
CVE-2021-46020High7.52022-01-14An untrusted pointer dereference in mrb_vm_exec() of mruby v3.0.0 can lead to a segmentation fault or application crash.
CVE-2022-0080Critical9.82022-01-02mruby is vulnerable to Heap-based Buffer Overflow
CVE-2021-4188High7.52021-12-30mruby is vulnerable to NULL Pointer Dereference
CVE-2021-4110High7.52021-12-15mruby is vulnerable to NULL Pointer Dereference
CVE-2020-36401High7.82021-07-01mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
CVE-2020-15866Critical9.82020-07-21mruby 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 triggere…
CVE-2020-6840Critical9.82020-01-11In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c.
CVE-2020-6839Critical9.82020-01-11In mruby 2.1.0, there is a stack-based buffer overflow in mrb_str_len_to_dbl in string.c.
CVE-2020-6838Critical9.82020-01-11In mruby 2.1.0, there is a use-after-free in hash_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c.
CVE-2018-14337High7.52018-07-17The 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 becau…
CVE-2018-12249High7.52018-06-12An 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-12248High7.52018-06-12An 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…
CVE-2018-12247High7.52018-06-12An 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 co…
CVE-2018-11743Critical9.82018-06-05The 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_h…
CVE-2018-10199Critical9.82018-04-18In 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 co…
CVE-2018-10191Critical9.82018-04-17In 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 n…
CVE-2017-9527High7.82017-06-11The 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)…