What’s Vulnerable › Vulnerabilities
CVE-2018-10199
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-04-18 · updated 2026-06-17
- Weakness: CWE-416
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
- mruby/mruby: through 1.4.0
References
- https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433
- https://github.com/mruby/mruby/issues/4001
- https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433
- https://github.com/mruby/mruby/issues/4001
Get alerted when CVE-2018-10199 or the next vulnerability affects your stack