{"id":"CVE-2020-15866","aliases":["CVE-2020-15866"],"related":[],"kind":"vulnerability","state":"published","title":"mruby through 2.1.2-rc has a heap-based buffer overflow in the mrbyieldwithclass function in vm.c because of incorrect VM stack handling.","summary":"mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.","source":"cvelist"},{"lang":"es","text":"mruby versiones hasta 2.1.2-rc presenta un desbordamiento de búfer en la región heap de la memoria en la función mrb_yield_with_class en el archivo vm.c, debido al manejo incorrecto de la pila de la VM. Puede ser activado por medio de la función stack_copy","source":"nvd"}],"published":"2020-07-21T14:54:09.000Z","modified":"2026-06-17T02:57:19.243Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.1.1"},{"status":"affected","version":"2.1.2"}],"vendor":"mruby","product":"mruby","cpe":"cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mruby/mruby/issues/5042","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15866","url":"https://www.cve.org/CVERecord?id=CVE-2020-15866","licence":"CVE Terms of Use","modified":"2024-08-04T13:30:22.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15866","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15866","licence":"Public domain","modified":"2026-06-17T02:57:19.243Z"}],"updatedAt":"2026-11-25T22:57:53.575Z","epss":{"score":0.02127,"percentile":0.82455,"date":"2026-12-01T12:00:22.000Z"}}