CVE-2025-12875
CVE-2025-12875 · mruby array.c ary_fill_exec out-of-bounds write
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A weakness has been identified in mruby 3.4.0. This vulnerability affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. Executing a manipulation of the argument start/length can lead to out-of-bounds write. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. This patch is called 93619f06dd378db6766666b30c08978311c7ec94. It is best practice to apply a patch to resolve this issue.
CVSS 4.8 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
mruby
- Versions
- 3.4.0: Affected
No fix published
mruby Ubuntu:16.04:LTS
- Versions
- 1.1.0+20150817+gita1731254-1
- 1.1.0+20150906+git1cbbb7e1-1
- 1.2.0+20160315+git4f20d58a-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:18.04:LTS
- Versions
- 1.3.0-1
- 1.3.0+20170925+git38185028-1
- 1.3.0+20171029+git77edafb0-1
- 1.4.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:20.04:LTS
- Versions
- 2.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:22.04:LTS
- Versions
- 2.1.2-3
- 3.0.0-1
- 3.0.0-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:24.04:LTS
- Versions
- 3.2.0-1
- 3.2.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:25.10
- Versions
- 3.3.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:26.10
- Versions
- 3.4.0-2
- 3.4.0-3
- 4.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mruby Ubuntu:26.04:LTS
- Versions
- 3.3.0-1
- 3.4.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://vuldb.com/?id.331511
- https://vuldb.com/?ctiid.331511
- https://vuldb.com/?submit.680879
- 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://github.com/makesoftwaresafe/mruby/commit/93619f06dd378db6766666b30c08978311c7ec94
- https://github.com/mruby/mruby/
- https://nvd.nist.gov/vuln/detail/CVE-2025-12875