CVE-2022-0631

Source
https://cve.org/CVERecord?id=CVE-2022-0631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0631
Downstream
Published
2022-02-18T13:55:10Z
Modified
2026-07-22T02:23:01.991982Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Heap-based Buffer Overflow in mruby/mruby
Details

Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.

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

vanir_signatures_modified
"2026-07-22T02:23:01Z"
vanir_signatures
[
    {
        "target": {
            "file": "src/vm.c"
        },
        "id": "CVE-2022-0631-d7acab44",
        "digest": {
            "line_hashes": [
                "243309662882086276702655714909276486693",
                "272723878323406354967538782514104337041",
                "121243226226501960812189109070916907127",
                "293478779474975161687901677285577891266",
                "170845495810357436757775838122690288960",
                "67819624772517592286870265287583808527",
                "260149569394654772260247187436470291531"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299"
    },
    {
        "target": {
            "function": "mrb_f_send",
            "file": "src/vm.c"
        },
        "id": "CVE-2022-0631-dada918e",
        "digest": {
            "function_hash": "161743637531591569071046463365686133494",
            "length": 1311.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0631.json"