Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
{
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1276.json"
}{
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1276.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"120058306566273560565626848773564609",
"311717043518601324447032311762159953896",
"243600602390835020626630303640545407430",
"179402337016350086543169872163156511253"
],
"threshold": 0.9
},
"id": "CVE-2022-1276-0407dc09",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6",
"target": {
"file": "mrbgems/mruby-compiler/core/codegen.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "19399435787969582511689093949920072930",
"length": 3643
},
"id": "CVE-2022-1276-8503e4cc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6",
"target": {
"file": "mrbgems/mruby-compiler/core/codegen.c",
"function": "gen_assignment"
}
}
]
"2026-08-12T12:59:21Z"