CVE-2018-10199Mruby
Critical 9.8 No auth needed
Follow: this CVE · Mruby · Mruby We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Apr 18, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby | ≤ 1.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory