CVE-2025-12875
4.8
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | mruby | 3.4.0 | affected |
Weaknesses
- CWE-787: Out-of-bounds Write
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
Additional References
- https://github.com/mruby/mruby/issues/6650
- https://github.com/mruby/mruby/issues/6650#issuecomment-3430851605
References
- 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/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.