CVE-2026-1979 Details
Description
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.
A heap-use-after-free vulnerability has been identified in mruby versions prior to 3.4.0. This issue arises in the virtual machine execution function, mrb_vm_exec, located in src/vm.c. The vulnerability is triggered after a rational number reduction operation, where the memory region freed during the calculation is subsequently accessed by the VM, leading to a read memory access violation. This vulnerability requires local exploitation.
Users are advised to update to mruby version 3.4.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mruby/mruby/ | [email protected] | Product |
| https://github.com/mruby/mruby/issues/6701 | [email protected] | ExploitIssue Tracking |
| https://github.com/mruby/mruby/issues/6701#issue-3802609843 | [email protected] | ExploitIssue Tracking |
| https://github.com/sysfce2/mruby/commit/e50f15c1c6e131fa7934355eb02b8173b13df415 | [email protected] | Patch |
| https://vuldb.com/?ctiid.344501 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344501 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.743377 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mruby mruby | <= 3.4.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 28, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |