LiveActive security incident?Get immediate response
CVE Record

CVE-2018-10191: In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2018-10191 is a memory-safety flaw in mruby up to 1.4.0. If an attacker can make the system run crafted Ruby code, deep scope nesting may trigger memory corruption and possibly arbitrary code execution.

Executive priority

Prioritize remediation for internet-facing or multi-tenant systems that expose mruby scripting. For internal-only embedded use without untrusted Ruby input, treat as important lifecycle remediation.

Technical view

The issue is an integer overflow in src/vm.c mrb_vm_exec() while handling OP_GETUPVAR with deep scope nesting. The overflow can produce a use-after-free condition. Upstream references include issue 3995 and commit 1905091634a6a2925c911484434448e568330626.

Likely exposure

Exposure is most likely in products, appliances, services, or scripts embedding mruby up to and including 1.4.0, especially where users can supply or influence Ruby code.

Exploitation context

The source bundle does not show KEV listing or confirmed active exploitation. Exploitation requires an attacker-controlled path to run Ruby code inside mruby, which limits reach but raises impact where scripting is exposed.

Researcher notes

Evidence is specific on root cause and impact but sparse on scoring. No CVSS, CWE, or complete affected CPE data is provided. Avoid assuming exposure beyond mruby versions up to 1.4.0 and downstream packages or embedded copies.

Mitigation direction

  • Upgrade mruby to a release containing the upstream fix commit.
  • Apply Debian DLA 2996-1 packages where Debian LTS mruby is used.
  • Restrict untrusted users from submitting Ruby code to mruby runtimes.
  • Isolate or sandbox mruby execution where scripting must remain enabled.
  • Check embedded product vendor guidance for bundled mruby updates.

Validation and detection

  • Inventory systems and dependencies for mruby versions up to 1.4.0.
  • Check embedded firmware or application bundles, not only OS packages.
  • Confirm the upstream fix commit or vendor backport is present.
  • Identify workflows that execute user-controlled Ruby code.
  • Review Debian package status against DLA 2996-1 where applicable.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-10191 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.