CRITICAL
In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy()
Published Apr 18, 2018
9.8
CRITICALCVSS 3.0
EPSS 2.26%
Description
In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
9.8 CRITICAL NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
7.5 HIGH NVD
AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
2.26% 0.02264
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.02264
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.26% (0.02264) | 82.38th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.34% (0.02344) | 81.37th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.52% (0.01519) | 79.52th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.27% (0.05267) | 82.97th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.31% (0.00306) | 70.10th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.31% (0.00306) | 69.46th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.33% (0.00328) | 70.30th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.29% (0.00292) | 68.26th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.42% (0.00422) | 70.73th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.60% (0.00599) | 75.12th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.58% (0.01578) | 75.39th | v2 (v2022.01.01) |
| Jan 13, 2023 | 1.58% (0.01578) | 74.79th | 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 |
Weaknesses (1)
References (2)
- https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433 x_refsource_CONFIRMPatch
- https://github.com/mruby/mruby/issues/4001 x_refsource_CONFIRMThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433 | x_refsource_CONFIRMPatch | |
| https://github.com/mruby/mruby/issues/4001 | x_refsource_CONFIRMThird Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Apr 18, 2018
Updated Sep 16, 2024
Reserved Apr 18, 2018
Link CVE-2018-10199
CISA Vulnrichment
Updated n/a