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"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1286.json"
[
{
"source": "https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9",
"signature_version": "v1",
"target": {
"file": "src/class.c",
"function": "mrb_remove_method"
},
"signature_type": "Function",
"id": "CVE-2022-1286-736c7aa9",
"digest": {
"function_hash": "247492600817286190057563036038273421833",
"length": 256.0
},
"deprecated": false
},
{
"source": "https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9",
"signature_version": "v1",
"target": {
"file": "src/class.c"
},
"signature_type": "Line",
"id": "CVE-2022-1286-951bba30",
"digest": {
"threshold": 0.9,
"line_hashes": [
"259367594531599583054158057858247157755",
"253356097824957435396565925400410528301",
"102512842315698149060632734968274965302",
"261759070071364822565035039493212483244"
]
},
"deprecated": false
}
]
"2026-08-12T12:50:19Z"