Skip to main content
VulnerabilityPublished Updated

CVE-2026-1979: mruby · Use After Free

Affects mrubySource CVE Database V5

0

Public exploit available · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
mrubyAffected
  • 3.0 – 3.4.0
5 affected builds
Fixed in–
GitHubmruby/mrubypkg:github/mruby/mrubyOther threatsAffected
  • 3.0 – 3.4.0
5 affected builds
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

Community reviews

Loading reviews…