VULNERABILITY INTELLIGENCE
CVE-2018-10191
CVSS score9.8 CRITICAL
EPSS probability2.59%
CISA KEVNot currently listed
Published2018-04-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-190: Integer Overflow or Wraparound
Primary references
- cve@mitre.org — Patch, Third Party Advisory
- cve@mitre.org — Exploit, Issue Tracking, Third Party Advisory
- cve@mitre.org — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory