CVE-2022-1106 use after free in mrb_vm_exec in mruby/mruby

High 7.2 Published Updated

A use-after-free flaw in the mruby VM allows attackers to potentially execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-1106?

CVE-2022-1106 is a high-severity use after free vulnerability in mruby/mruby, published on 27 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.

Weakness: CWE-416

Which versions are affected by CVE-2022-1106?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2022-1106?

No fix has been published for CVE-2022-1106 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-1106 being exploited?

There is no known exploitation of CVE-2022-1106 in the wild and no public exploit code.

Sources

Also known as GHSA-r2j8-v967-j6h6, UBUNTU-CVE-2022-1106.

Is CVE-2022-1106 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free