Every CVE Search/ Get API key

CVE-2022-1071

User after free in mrb_vm_exec in mruby/mruby

7.7 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.92%Unchanged since Mar 26, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.7

User after free in mrb_vm_exec in mruby/mruby

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

Record
CVE-2022-1071
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
EUVDEUVD-2022-24415 7.7

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

Record
EUVD-2022-24415
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-pv86-xgr9-75fj 8.2

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

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

Record
GHSA-pv86-xgr9-75fj
CVSS 3.1
8.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
NVD 8.2

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

Record
CVE-2022-1071
CVSS 3.1
8.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-416
Updated
2026-11-02
OSVALPINE-CVE-2022-1071 8.2

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

Record
ALPINE-CVE-2022-1071
CVSS 3.1
8.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-03
OSV 7.7

User after free in mrb_vm_exec in mruby/mruby

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

Record
CVE-2022-1071
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVDEBIAN-CVE-2022-1071 8.2

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

Record
DEBIAN-CVE-2022-1071
CVSS 3.1
8.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2022-1071 8.2

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

Record
UBUNTU-CVE-2022-1071
CVSS 3.1
8.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mruby
Alpine:v3.17
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.18
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.19
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.20
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.21
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.22
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.23
before 3.1.0-r0
3.1.0-r0
mruby
Alpine:v3.24
before 3.1.0-r0
3.1.0-r0
mruby
Debian:12
before 3.1.0-1
3.1.0-1
mruby
Debian:13
before 3.1.0-1
3.1.0-1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
mruby
Debian:14
before 3.1.0-1
3.1.0-1
mruby
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1.0+20150817+gita1731254-11.1.0+20150906+git1cbbb7e1-11.2.0+20160315+git4f20d58a-1
None known
mruby
Ubuntu:18.04:LTS
All versions, plus listed versions
1.3.0-11.3.0+20170925+git38185028-11.3.0+20171029+git77edafb0-11.4.0-1
None known
mruby
Ubuntu:20.04:LTS
All versions, plus listed versions
2.0.0-1
None known
mruby
Ubuntu:22.04:LTS
All versions, plus listed versions
2.1.2-33.0.0-13.0.0-3
None known
mruby
Ubuntu:24.04:LTS
All versions, plus listed versions
3.2.0-13.2.0-2
None known
mruby
Ubuntu:25.10
All versions, plus listed versions
3.3.0-1
None known
mruby
Ubuntu:26.10
All versions, plus listed versions
3.4.0-23.4.0-34.0.0-1
None known
mruby
Ubuntu:26.04:LTS
All versions, plus listed versions
3.3.0-13.4.0-2
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-1071 is a high vulnerability (CVSS 7.7) in Mruby, published March 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.92%, the 60th percentile. Fixed in mruby 3.1.0-r0.

References

MoveEnter Open