Skip to main content
No exploitation reportedFix available

CVE-2018-10191

No exploitation reported by the sources we read.

  • Published2018-04-17
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-04-1721:29CVE publishedNVD

Versions per branch

NVD
Mruby
BranchAffectedFixed in
1.4≤ 1.4.0no fix published
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • mrubyUbuntu:Pro:20.04:LTSall versions · fixed in 2.0.0-1ubuntu0.1~esm1
  • mrubyUbuntu:Pro:18.04:LTSall versions · fixed in 1.4.0-1ubuntu0.1~esm1
  • mrubyUbuntu:Pro:16.04:LTSall versions · fixed in 1.2.0+20160315+git4f20d58a-1ubuntu0.1~esm1
  • mrubyDebian:14all versions · fixed in 1.4.0+20180418+git54905e98-1
  • mrubyDebian:13all versions · fixed in 1.4.0+20180418+git54905e98-1
  • mrubyDebian:12all versions · fixed in 1.4.0+20180418+git54905e98-1
  • mrubyDebian:9all versions · fixed in 1.2.0+20161228+git30d5424a-1+deb9u1

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2018-04-17
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-444w-xm89-r2p5

Frequently asked questions

What is 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 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.

Is CVE-2018-10191 actively exploited?

Active exploitation of CVE-2018-10191 has not been confirmed. Its EPSS score was 2.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-10191?

CVE-2018-10191 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running mruby? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record