What’s Vulnerable › Vulnerabilities
CVE-2018-10191
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-04-17 · updated 2026-06-17
- Weakness: CWE-190
Description
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 arbitrary code.
Affected products
- Debian Linux: 9.0
- mruby/mruby: through 1.4.0
References
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626
- https://github.com/mruby/mruby/issues/3995
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626
- https://github.com/mruby/mruby/issues/3995
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html
Get alerted when CVE-2018-10191 or the next vulnerability affects your stack