CVE-2026-1979: mruby · Use After Free
Affects mrubySource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 6 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mruby | Affected
| Fixed in– |
GitHubmruby/mrubypkg:github/mruby/mrubyOther threats | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-1979, organizations should promptly apply the official patch identified by commit e50f15c1c6e131fa7934355eb02b8173b13df415 to all affected mruby versions up to 3.4.0. In addition to patching, restrict local access to systems running mruby to trusted users only, minimizing the risk of exploitation by unprivileged users. Employ strict access controls and monitoring on systems where mruby is used, especially in multi-tenant or shared environments. Conduct regular code audits and memory safety checks when embedding mruby in custom applications to detect potential misuse of the vulnerable function. Consider deploying runtime protections such as memory corruption mitigations (e.g., ASLR, DEP) to reduce exploitation success. If patching is delayed, isolate vulnerable systems from untrusted users and limit the execution of untrusted code. Finally, maintain up-to-date incident detection capabilities to identify suspicious local activity that could indicate exploitation attempts.
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/mruby/mruby/issues/6701 (opens in a new tab)
- github.com/mruby/mruby/issues/6701 (opens in a new tab)
- github.com/sysfce2/mruby/commit/e50f15c1c6e131fa7934355eb02b8173b13df415 (opens in a new tab)
- github.com/mruby/mruby/ (opens in a new tab)