CVE-2018-12249

Source
https://cve.org/CVERecord?id=CVE-2018-12249
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12249.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-12249
Downstream
Published
2018-06-12T14:29:00.460Z
Modified
2026-07-08T17:57:22.772900Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mruby/mruby

Affected ranges

Type
GIT
Repo
https://github.com/mruby/mruby
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "1.4.1"
        },
        {
            "last_affected": "1.4.1"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:mruby:mruby:1.4.1:*:*:*:*:*:*:*"
}

Affected versions

1.*
1.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12249.json"
vanir_signatures_modified
"2026-07-08T17:57:22Z"
vanir_signatures
[
    {
        "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"
        }
    }
]