CVE-2026-1979mruby JMPNOT-to-JMPIF Optimization vm.c mrb_vm_exec use after free
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mruby | Fix pending | UBUNTU-CVE-2026-1979 | |
| Ubuntu 26.04 | mruby | Under investigation | UBUNTU-CVE-2026-1979 | |
| Ubuntu 25.10 | mruby | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-1979 | |
| Ubuntu 24.04 | mruby | Under investigation | UBUNTU-CVE-2026-1979 | |
| Ubuntu 22.04 | mruby | Under investigation | UBUNTU-CVE-2026-1979 | |
| Ubuntu 20.04 | mruby | Fix pending | UBUNTU-CVE-2026-1979 | |
| Ubuntu 18.04 | mruby | Fix pending | UBUNTU-CVE-2026-1979 | |
| Ubuntu 16.04 | mruby | Fix pending | UBUNTU-CVE-2026-1979 | |
| Debian 14 | mruby | Fixed | 4.0.0-1 | DEBIAN-CVE-2026-1979 |
| Debian 13 | mruby | Fix pending | DEBIAN-CVE-2026-1979 | |
| Debian 12 | mruby | Fix pending | DEBIAN-CVE-2026-1979 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mruby: affected: 3.0, 3.1, 3.2, 3.3, 3.4.0
Vendor advisories:
References
- https://vuldb.com/?id.344501
- https://vuldb.com/?ctiid.344501
- https://vuldb.com/?submit.743377
- https://github.com/mruby/mruby/issues/6701
- https://github.com/mruby/mruby/issues/6701#issue-3802609843
- https://github.com/sysfce2/mruby/commit/e50f15c1c6e131fa7934355eb02b8173b13df415
- https://github.com/mruby/mruby/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.