Every CVE Search/ Get API key

CVE-2018-10199

In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c...

9.8 CriticalFix available

CVE-2018-10199 is a critical vulnerability (CVSS 9.8) in Mruby, published April 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.26%, the 83rd percentile. Fixed in mruby 1.4.0+20180418+git54905e98-1.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.26%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2018-10199
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-10199
Updated
2026-11-02
EUVDEUVD-2018-2275 No score

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.

Record
EUVD-2018-2275
Updated
2026-11-03
GitHub AdvisoriesGHSA-xpq9-m45f-g29q 9.8

In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c...

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.

Record
GHSA-xpq9-m45f-g29q
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2018-10199
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-10199 9.8

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.

Record
DEBIAN-CVE-2018-10199
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-10199 9.8

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.

Record
UBUNTU-CVE-2018-10199
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mruby
Debian:12
before 1.4.0+20180418+git54905e98-1
1.4.0+20180418+git54905e98-1
mruby
Debian:13
before 1.4.0+20180418+git54905e98-1
1.4.0+20180418+git54905e98-1
mruby
Debian:14
before 1.4.0+20180418+git54905e98-1
1.4.0+20180418+git54905e98-1
mruby
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1.0+20150817+gita1731254-11.1.0+20150906+git1cbbb7e1-11.2.0+20160315+git4f20d58a-1
None known
mruby
Ubuntu:18.04:LTS
All versions, plus listed versions
1.3.0-11.3.0+20170925+git38185028-11.3.0+20171029+git77edafb0-11.4.0-1
None known
mruby
Ubuntu:20.04:LTS
All versions, plus listed versions
2.0.0-1
None known
mruby
Ubuntu:22.04:LTS
All versions, plus listed versions
2.1.2-33.0.0-13.0.0-3
None known
mruby
Ubuntu:24.04:LTS
All versions, plus listed versions
3.2.0-13.2.0-2
None known
mruby
Ubuntu:25.10
All versions, plus listed versions
3.3.0-1
None known
mruby
Ubuntu:26.10
All versions, plus listed versions
3.4.0-23.4.0-34.0.0-1
None known
mruby
Ubuntu:26.04:LTS
All versions, plus listed versions
3.3.0-13.4.0-2
None known

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

MoveEnter Open