7.5
CWE
476
Advisory Published
Updated

CVE-2018-12247: Null Pointer Dereference

First published: Tue Jun 12 2018(Updated: )

An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class, related to certain .clone usage, because mrb_obj_clone in kernel.c copies flags other than the MRB_FLAG_IS_FROZEN flag (e.g., the embedded flag).

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Mruby Mruby=1.4.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-12247?

    CVE-2018-12247 is a vulnerability in mruby 1.4.1 that allows for a NULL pointer dereference in mrb_class, related to certain .clone usage.

  • How severe is CVE-2018-12247?

    CVE-2018-12247 has a severity rating of 7.5 (high).

  • Which software versions are affected by CVE-2018-12247?

    CVE-2018-12247 affects mruby version 1.4.1.

  • How can I fix CVE-2018-12247?

    To fix CVE-2018-12247, users should update to a version of mruby that is not affected by this vulnerability.

  • Is there any additional information about CVE-2018-12247?

    Yes, you can find additional information about CVE-2018-12247 in the references provided: [Reference 1](https://github.com/mruby/mruby/commit/55edae0226409de25e59922807cb09acb45731a2) and [Reference 2](https://github.com/mruby/mruby/issues/4036).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203