#VU118342 Buffer overflow in mruby - CVE-2025-12875
Published: November 12, 2025
mruby
mruby
Description
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the "ary_fill_exec" function in the "mrbgems/mruby-array-ext/src/array.c" file. A local user can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- https://github.com/makesoftwaresafe/mruby/commit/93619f06dd378db6766666b30c08978311c7ec94
- https://github.com/mruby/mruby/issues/6650
- https://github.com/mruby/mruby/issues/6650#event-20443453808
- https://github.com/mruby/mruby/issues/6650#issuecomment-3430851605
- https://vuldb.com/?ctiid.331511
- https://vuldb.com/?id.331511
- https://vuldb.com/?submit.680879