#VU118342 Buffer overflow in mruby - CVE-2025-12875
Published: November 12, 2025
Vulnerability identifier: #VU118342
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2025-12875
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerable software:
mruby
mruby
Software vendor:
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
Install updates from vendor's website.
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