A vulnerability, which was classified as critical, was 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.

This vulnerability is registered as CVE-2026-1979. The attack needs to be launched locally. Furthermore, an exploit is available.

It is advisable to implement a patch to correct this issue.