4.8medium
mruby array.c ary_fill_exec out-of-bounds write
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mruby | 3.4.0 | CVE List |
| mruby mruby | 3.4.0 | NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha identificado una vulnerabilidad en mruby 3.4.0. Esta vulnerabilidad afecta a la función ary_fill_exec del archivo mrbgems/mruby-array-ext/src/array.c. La ejecución de una manipulación del argumento start/length puede llevar a una escritura fuera de límites. El ataque debe lanzarse localmente. El exploit se ha puesto a disposición del público y podría usarse para ataques. Este parche se denomina 93619f06dd378db6766666b30c08978311c7ec94. Es una buena práctica aplicar un parche para resolver este problema.
References
| https://vuldb.com/?id.331511 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.331511 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.680879 | third-party-advisory, vdb-entry | |
| https://github.com/mruby/mruby/issues/6650 | exploit, issue-tracking | |
| https://github.com/mruby/mruby/issues/6650#event-20443453808 | issue-tracking | |
| https://github.com/mruby/mruby/issues/6650#issuecomment-3430851605 | exploit, issue-tracking, patch | |
| https://github.com/makesoftwaresafe/mruby/commit/93619f06dd378db6766666b30c08978311c7ec94 | patch | |
| https://github.com/mruby/mruby/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12875 changed 2026-02-24 | CVE Terms of Use |
| NVD | CVE-2025-12875 changed 2026-10-19 | Public domain |