Vulnerability · Published Mar 26, 2022 · Assigned by @huntrdev

CVE-2022-1071User after free in mrb_vm_exec in mruby/mruby

High 7.7

In plain English

A high-severity use-after-free in mruby/mruby from mruby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.7High
Exploit odds (30 days)0.9%top 39.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20mruby3.1.0-r0ALPINE-CVE-2022-1071
Alpine:v3.21mruby3.1.0-r0ALPINE-CVE-2022-1071
Alpine:v3.22mruby3.1.0-r0ALPINE-CVE-2022-1071
Alpine:v3.23mruby3.1.0-r0ALPINE-CVE-2022-1071
Alpine:v3.24mruby3.1.0-r0ALPINE-CVE-2022-1071
Debian:12mruby3.1.0-1DEBIAN-CVE-2022-1071
Debian:13mruby3.1.0-1DEBIAN-CVE-2022-1071
Debian:14mruby3.1.0-1DEBIAN-CVE-2022-1071
Ubuntu:22.04:LTSmrubyno fix listedUBUNTU-CVE-2022-1071
Ubuntu:24.04:LTSmrubyno fix listedUBUNTU-CVE-2022-1071
Ubuntu:25.10mrubyno fix listedUBUNTU-CVE-2022-1071
Ubuntu:26.04:LTSmrubyno fix listedUBUNTU-CVE-2022-1071
Ubuntu:26.10mrubyno fix listedUBUNTU-CVE-2022-1071

Affected products (as reported)

VendorProductVersions
mruby mruby/mruby unspecified – before 3.2

Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

References