CVE-2018-12249
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real...
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
CVE-2018-12249- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
CVE-2018-12249- Updated
- 2026-11-02
EUVDEUVD-2018-4227 No score
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
EUVD-2018-4227- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3h2j-h4g8-5pmr
7.5
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real...
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
GHSA-3h2j-h4g8-5pmr- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
7.5
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
CVE-2018-12249- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-12249
7.5
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
DEBIAN-CVE-2018-12249- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-12249
7.5
An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class_real because "class BasicObject" is not properly supported in class.c.
- Record
UBUNTU-CVE-2018-12249- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mrubyDebian:12 |
before 1.4.1+20180622+git640fca32-1 | 1.4.1+20180622+git640fca32-1 |
mrubyDebian:13 |
before 1.4.1+20180622+git640fca32-1 | 1.4.1+20180622+git640fca32-1 |
mrubyDebian:14 |
before 1.4.1+20180622+git640fca32-1 | 1.4.1+20180622+git640fca32-1 |
mrubyDebian:9 |
before 1.2.0+20161228+git30d5424a-1+deb9u1, plus listed versions 1.2.0+20161228+git30d5424a-1 |
1.2.0+20161228+git30d5424a-1+deb9u1 |
mrubyUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.0+20150817+gita1731254-11.1.0+20150906+git1cbbb7e1-11.2.0+20160315+git4f20d58a-1 |
None known |
mrubyUbuntu:18.04:LTS |
All versions, plus listed versions 1.3.0-11.3.0+20170925+git38185028-11.3.0+20171029+git77edafb0-11.4.0-1 |
None known |
mrubyUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.0-1 |
None known |
mrubyUbuntu:22.04:LTS |
All versions, plus listed versions 2.1.2-33.0.0-13.0.0-3 |
None known |
mrubyUbuntu:24.04:LTS |
All versions, plus listed versions 3.2.0-13.2.0-2 |
None known |
mrubyUbuntu:25.10 |
All versions, plus listed versions 3.3.0-1 |
None known |
mrubyUbuntu:26.10 |
All versions, plus listed versions 3.4.0-23.4.0-34.0.0-1 |
None known |
mrubyUbuntu:26.04:LTS |
All versions, plus listed versions 3.3.0-13.4.0-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-12249 is a high vulnerability (CVSS 7.5) in Mruby, published June 12, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.09%, the 81st percentile. Fixed in mruby 1.4.1+20180622+git640fca32-1.
References
github.com/mruby/mruby/issues/4037
github.com/mruby/mruby/commit/faa4eaf6803bd11669bc324b4c34e7162286bfa3
lists.debian.org/debian-lts-announce/2022/05/msg00006.html
nvd.nist.gov/vuln/detail/CVE-2018-12249
github.com/advisories/GHSA-3h2j-h4g8-5pmr
security-tracker.debian.org/tracker/CVE-2018-12249
ubuntu.com/security/CVE-2018-12249
cve.org/CVERecord?id=CVE-2018-12249