Vulnerabilities · 2018 · Mruby
CVE-2018-10191
Mruby vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mruby, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Mruby products
CVE-2025-13120CVE-2025-12875CVE-2025-7207CVE-2022-1934CVE-2022-1427CVE-2022-1286CVE-2022-1276CVE-2022-1212All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.