CVE-2022-1106

Source
https://cve.org/CVERecord?id=CVE-2022-1106
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1106.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1106
Downstream
Published
2022-03-27T14:05:10Z
Modified
2026-08-12T12:59:19Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
use after free in mrb_vm_exec in mruby/mruby
Details

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

Database specific
{
    "cna_assigner":  "@huntrdev",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1106.json"
}
References

Affected packages

Git / github.com/mruby/mruby

Affected ranges

Type
GIT
Repo
https://github.com/mruby/mruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "3.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.2.0
3.*
3.0.0-preview

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1106.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "160687571943972971128555940152249320495",
            "length":  36827
        },
        "id":  "CVE-2022-1106-82f012c2",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c",
        "target":  {
            "file":  "src/vm.c",
            "function":  "mrb_vm_exec"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "49593699705112139112510258770588670096",
                "251926629524209834130737146212038786980",
                "249291305442330802981209138847719089427",
                "16226952439596658830888344797889575451",
                "46906750371387534427869995368257883017",
                "45739868171485261675501505783169186625",
                "174842642961999513777453679537852634669",
                "294363674387220683829294139768082150891",
                "248100225037294706410372066324473579923"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-1106-8fc4420f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c",
        "target":  {
            "file":  "src/vm.c"
        }
    }
]
vanir_signatures_modified
"2026-08-12T12:59:19Z"