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
Published Apr 17, 2018
9.8
CRITICALCVSS 3.1
EPSS 2.59%
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.
Affected products
No data.
Configuration 2
- 9.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.59% (0.02588) | 84.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.58% (0.02584) | 83.16th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.54% (0.00544) | 77.61th | v3 (v2023.03.01) |
| Mar 27, 2024 | 0.54% (0.00544) | 76.93th | v3 (v2023.03.01) |
| Feb 22, 2024 | 0.55% (0.00552) | 76.93th | v3 (v2023.03.01) |
| Oct 18, 2023 | 0.55% (0.00552) | 74.92th | v3 (v2023.03.01) |
| Sep 8, 2023 | 0.78% (0.00781) | 79.22th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.00% (0.01003) | 81.58th | v3 (v2023.03.01) |
| Apr 11, 2023 | 0.82% (0.00818) | 79.35th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.81% (0.00812) | 79.13th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.58% (0.02578) | 82.08th | v2 (v2022.01.01) |
| Jan 12, 2023 | 2.58% (0.02578) | 81.47th | v2 (v2022.01.01) |
| May 7, 2022 | 2.51% (0.02509) | 80.29th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.44% (0.01440) | 71.44th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.44% (0.01440) | 50.53th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.09% (0.01095) | 29.04th | v1 |
| Jan 6, 2022 | 1.09% (0.01095) | 28.40th | v1 |
| Sep 1, 2021 | 1.09% (0.01095) | 65.96th | v1 |
| Apr 14, 2021 | 1.09% (0.01095) | 0.00th | v1 |
References (3)
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 x_refsource_MISCPatchThird Party Advisory
- https://github.com/mruby/mruby/issues/3995 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/mruby/mruby/issues/3995 | x_refsource_MISCExploitIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory |
Change history (0)
No recorded changes yet.