
CVE catalog
CVE-2018-10191
mruby: CVE-2018-10191
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.59% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mruby | sid | 4.0.0-1 | fixed |
| Debian | mruby | forky | 4.0.0-1 | fixed |
| Debian | mruby | trixie | 3.3.0-1 | fixed |
| Debian | mruby | bookworm | 3.1.0-3 | fixed |
| Ubuntu | mruby | 16.04 | 1.1.0+20150817+gita1731254-1 | vulnerable |
| Ubuntu | mruby | 16.04 | 1.1.0+20150906+git1cbbb7e1-1 | vulnerable |
| Ubuntu | mruby | 16.04 | 1.2.0+20160315+git4f20d58a-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0+20170925+git38185028-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0+20171029+git77edafb0-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.4.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mruby | source | sid | 1.4.0+20180418+git54905e98-1 | not yet assigned | Not reported | [896020] |
| Debian | mruby | source | forky | 1.4.0+20180418+git54905e98-1 | not yet assigned | Not reported | [896020] |
| Debian | mruby | source | trixie | 1.4.0+20180418+git54905e98-1 | not yet assigned | Not reported | [896020] |
| Debian | mruby | source | bookworm | 1.4.0+20180418+git54905e98-1 | not yet assigned | Not reported | [896020] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmruby-dev]Fixed
Source package: [mruby]
Details (2)
3.1.0-3· amd64 · bookwormFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
- [mruby]Fixed
Details (2)
3.1.0-3· amd64 · bookwormFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
[Debian 13 (Trixie)]
- [libmruby-dev]Fixed
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · 13
- [mruby]Fixed
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieFixed · Fixed:
1.4.0+20180418+git54905e98-1dsa · mruby · debian · 13
Observed: