CVE-2022-0525

Source
https://cve.org/CVERecord?id=CVE-2022-0525
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0525.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0525
Downstream
Published
2022-02-09T03:45:10Z
Modified
2026-07-22T02:22:48.988524Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Out-of-bounds Read in mruby/mruby
Details

Out-of-bounds Read in Homebrew mruby prior to 3.2.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "cna_assigner": "@huntrdev",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0525.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
{
    "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

vanir_signatures_modified
"2026-07-22T02:22:48Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 3431.0,
            "function_hash": "295310965811551510467418086748230915098"
        },
        "signature_version": "v1",
        "source": "https://github.com/mruby/mruby/commit/0849a2885f81cfd82134992c06df3ccd59052ac7",
        "id": "CVE-2022-0525-1cd55c8b",
        "target": {
            "function": "gen_assignment",
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "305898980582808041928965308198617686673",
                "245811264452680166713335888893039726986",
                "248809915177299240646669204633689869899",
                "94761157541700902447930613315277590421",
                "299569896932396004359530850967377550104",
                "160054551446994978702607831833633956922",
                "134688814294374938340961079422226832119",
                "107586133546448693628958444450162808151",
                "17966193839548199424734353627708112351",
                "20075079529508115458894214551975088889",
                "199251265664512892398148231513383956658",
                "20973317319736792108945705997534199950",
                "126995530110513322525120398850201480916"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/mruby/mruby/commit/0849a2885f81cfd82134992c06df3ccd59052ac7",
        "id": "CVE-2022-0525-ee70d0b1",
        "target": {
            "file": "mrbgems/mruby-compiler/core/codegen.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0525.json"