{"id":"CVE-2020-15866","details":"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.","modified":"2026-04-10T04:23:08.016251Z","published":"2020-07-21T15:15:14.537Z","references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html"},{"type":"EVIDENCE","url":"https://github.com/mruby/mruby/issues/5042"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mruby/mruby","events":[{"introduced":"0"},{"last_affected":"f9d113f7647121f8578742a2a9ac256ece365e3f"},{"introduced":"0"},{"last_affected":"b6b9c57f247a26fb5dbea129cd81fcc9b7d485a3"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.1.1"},{"introduced":"0"},{"last_affected":"2.1.2-rc"}]}}],"versions":["1.0.0","1.1.0","1.2.0","2.1.1","2.1.1-rc","2.1.1-rc2","2.1.2-rc"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15866.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}