Live threats

All CVEs / Mruby

CVE-2018-10191Mruby

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Apr 17, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mrubymruby≤ 1.4.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.