CVE-2022-0326

Source
https://cve.org/CVERecord?id=CVE-2022-0326
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0326.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0326
Downstream
Related
Published
2022-01-21T06:45:12Z
Modified
2026-08-18T14:45:59Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
NULL Pointer Dereference in mruby/mruby
Details

NULL Pointer Dereference in Homebrew mruby prior to 3.2.

Database specific
{
    "cna_assigner":  "@huntrdev",
    "cwe_ids":  [
        "CWE-476"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0326.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
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.2"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.2.0
3.*
3.0.0-preview
3.2.0-rc
3.2.0-rc2
3.2.0-rc3
3.2.0-rc4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0326.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "326554427144128302010177963782874109166",
                "155860315923278193452626123067263810919",
                "183028816363587767831100254845271659316",
                "286026104544996865972377475947070145106",
                "121715227328024810024747390064059903726",
                "64060131834379430716466930244248281242",
                "314246194735294697574088729234807188059",
                "153885212672262700254204494730074811180",
                "271814646397224049325682485825373612613",
                "340132109708986924019490146201386769600",
                "280495850854410815449193422753291331505"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-0326-14be4819",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/b611c43a5de061ec21b343967e1b64c45c373d7e",
        "target":  {
            "file":  "mrbgems/mruby-compiler/core/codegen.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "319887676894434571485544280841567848484",
            "length":  1276
        },
        "id":  "CVE-2022-0326-dcca4798",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/b611c43a5de061ec21b343967e1b64c45c373d7e",
        "target":  {
            "file":  "mrbgems/mruby-compiler/core/codegen.c",
            "function":  "gen_hash"
        }
    }
]
vanir_signatures_modified
"2026-08-18T14:45:59Z"