Vulnerabilities · 2025 · Mruby
CVE-2025-12875
Mruby vulnerability
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 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 exploited. This patch is called 93619f06dd378db6766666b30c08978311c7ec94. It is best practice to apply a patch to resolve this issue.
Affected products
Mruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/makesoftwaresafe/mruby/commit/93619f06dd378db6766666b30c08978311c7ec94 · Patch
- github.com/mruby/mruby/issues/6650#issuecomment-3430851605 · Patch
- vuldb.com/?id.331511 · Third Party Advisory
- vuldb.com/?submit.680879 · Third Party Advisory
- github.com/mruby/mruby/issues/6650
- github.com/mruby/mruby/issues/6650#event-20443453808
- vuldb.com/?ctiid.331511
- github.com/mruby/mruby/
- nvd.nist.gov/vuln/detail/CVE-2025-12875
- cve.org/CVERecord?id=CVE-2025-12875
More vulnerabilities in Mruby products
CVE-2025-13120CVE-2025-7207CVE-2022-1934CVE-2022-1427CVE-2022-1286CVE-2022-1276CVE-2022-1212CVE-2022-1201All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.