CVE-2026-1979: mruby JMPNOT-to-JMPIF Optimization vm.c mrb_vm_exec use after free

Published Feb 6, 2026
·
Updated

A flaw has been found in mruby up to 3.4.0. This affects the function mrbvmexec 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.

Affected Software

2 affected components
mruby<=3.4.0
mruby Mruby Ruby<=3.4.0

Event History

Feb 6, 2026
CVE Published
via MITRE·04:32 AM
Data Sourced
via MITRE·04:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-1979?

CVE-2026-1979 is a critical vulnerability due to a use after free issue that can allow for manipulation and potential exploitation.

2

How do I fix CVE-2026-1979?

To fix CVE-2026-1979, upgrade to mruby version 3.4.1 or later, as this version addresses the vulnerability.

3

Which versions of mruby are affected by CVE-2026-1979?

CVE-2026-1979 affects all mruby versions up to and including 3.4.0.

4

What type of vulnerability is CVE-2026-1979?

CVE-2026-1979 is classified as a use after free vulnerability in the JMPNOT-to-JMPIF Optimization functionality.

5

Can CVE-2026-1979 lead to remote code execution?

Yes, CVE-2026-1979 can potentially allow attackers to execute arbitrary code if exploited successfully.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203