Buffer overflow in Mruby
CVE-2026-1979
A flaw has been found in mruby up to 3.4.0. This affects the function mrb_vm_exec of the file src/vm.c of the component JMPNOT-to-JMPIF Optimization. Executing a manipulation can lead to use after free. The attack needs to be launched locally. The exploit has been published and may be used. This patch is called e50f15c1c6e131fa7934355eb02b8173b13df415. It is advisable to implement a patch to correct this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 8.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mruby
- Mruby — versions 3.0, 3.1, 3.2
Weakness classification (CWE)
References
- VDB-344501 | mruby JMPNOT-to-JMPIF Optimization vm.c mrb_vm_exec use after free (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-344501 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #743377 | mruby cda2567 Use After Free (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/mruby/mruby/issues/6701 (issue-tracking, Exploit, Issue Tracking)
- github.com/mruby/mruby/issues/6701 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/sysfce2/mruby/commit/e50f15c1c6e131fa7934355eb02b8173b13df415 (Patch, patch)
- github.com/mruby/mruby/ (Product, product)