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