Description
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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/mruby/mruby/issues/5042
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html
Scores
CVSS v3
9.8
EPSS
0.0060
EPSS Percentile
69.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (3)
debian/debian_linux
9.0
mruby/mruby
2.1.2 rc
mruby/mruby
< 2.1.1
Published
Jul 21, 2020
Tracked Since
Feb 18, 2026