CVE-2018-10191: Integer Overflow

Published Apr 17, 2018
·
Updated

In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrbvmexec() when handling OPGETUPVAR 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 Software

2 affected components
mruby mruby<=1.4.0
Debian Debian Linux=9.0

Event History

Apr 17, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is CVE-2018-10191?

CVE-2018-10191 is a vulnerability in the mruby software, versions up to and including 1.4.0, that allows an attacker to execute arbitrary code through a use-after-free issue caused by an integer overflow.

2

How severe is CVE-2018-10191?

CVE-2018-10191 has a severity rating of 9.8 out of 10, indicating a critical vulnerability.

3

Which software versions are affected by CVE-2018-10191?

Versions up to and including 1.4.0 of mruby and Debian Linux 9.0 are affected by CVE-2018-10191.

4

How can an attacker exploit CVE-2018-10191?

An attacker who can execute Ruby code can exploit CVE-2018-10191 by causing an integer overflow in the handling of OP_GETUPVAR, leading to a use-after-free vulnerability and potentially allowing execution of arbitrary code.

5

Are there any references available for CVE-2018-10191?

Yes, you can find references for CVE-2018-10191 in the following links: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203