heap-buffer-overflow in mrbvmexec in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
{
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1286.json",
"cna_assigner": "@huntrdev"
}{
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"target": {
"function": "mrb_remove_method",
"file": "src/class.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "247492600817286190057563036038273421833",
"length": 256.0
},
"id": "CVE-2022-1286-736c7aa9",
"source": "https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9"
},
{
"target": {
"file": "src/class.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"259367594531599583054158057858247157755",
"253356097824957435396565925400410528301",
"102512842315698149060632734968274965302",
"261759070071364822565035039493212483244"
],
"threshold": 0.9
},
"id": "CVE-2022-1286-951bba30",
"source": "https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9"
}
]
"2026-07-22T02:23:06Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1286.json"