An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrbclassreal because "class BasicObject" is not properly supported in class.c.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING",
"vendor_product": "debian:debian_linux",
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
]
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12249.json"
"2026-07-08T17:57:22Z"
[
{
"digest": {
"line_hashes": [
"155455186924564632680250180701856630044",
"264202324149182625447183625422316271751",
"94991482216256460482615044015629407054",
"150556608830758180902443676307007741603",
"321360138958576321008453714337982509634",
"243470259043269232215136070449174223738",
"136177192398406707742052394993833219302"
],
"threshold": 0.9
},
"id": "CVE-2018-12249-77433845",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/mruby/mruby/commit/faa4eaf6803bd11669bc324b4c34e7162286bfa3",
"signature_type": "Line",
"target": {
"file": "src/class.c"
}
},
{
"digest": {
"function_hash": "252883612165395493998660936045010458921",
"length": 193.0
},
"id": "CVE-2018-12249-b11698cf",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/mruby/mruby/commit/faa4eaf6803bd11669bc324b4c34e7162286bfa3",
"signature_type": "Function",
"target": {
"function": "mrb_class_real",
"file": "src/class.c"
}
}
]