{"id":"CVE-2018-10191","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"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_…","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.","ai_summary":null,"severity":"critical","cvss":{"score":9.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-190"],"remote":true,"remote_unauth":true,"epss":{"score":0.02638,"percentile":0.86324,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626","kind":"patch"},{"url":"https://github.com/mruby/mruby/issues/3995","kind":"exploit"},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html","kind":"other"}],"workarounds":null,"vendors":["debian","mruby"],"products":["debian_linux","mruby"],"cpes":["cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"published_at":"2018-04-17T21:00:00.000Z","modified_at":"2026-06-17T01:33:38.970Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10191"}],"links":{"html":"https://flawdb.com/CVE-2018-10191","markdown":"https://flawdb.com/CVE-2018-10191.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-10191"}}