Out-of-bounds Read in Mruby

CVE-2018-12248

An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.

Vulnerability class: Buffer Overflow

EPSS: 0.016 (72.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Mruby — versions 1.4.1
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2018-12248?
CVE-2018-12248 is a high-severity vulnerability in Mruby, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2018-06-12.
How severe is CVE-2018-12248?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2018-12248 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.