Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
{
"cna_assigner": "@huntrdev",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0631.json",
"cwe_ids": [
"CWE-122"
]
}{
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T02:23:01Z"
[
{
"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"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0631.json"