CVE-2025-12875 Details
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.
A critical out-of-bounds write vulnerability has been identified in mruby version 3.4.0. The issue arises in the function 'ary_fill_exec' within the file 'mrbgems/mruby-array-ext/src/array.c'. The vulnerability is triggered by manipulating the 'start' and 'length' arguments, leading to a buffer underflow and unauthorized memory write. This flaw must be exploited locally, and a public proof-of-concept exploit is available.
The vulnerability has been patched in mruby version 3.4.0. Users should update to the latest version to address this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mruby/mruby/issues/6650 | CISA-ADP | Issue Tracking |
| https://github.com/mruby/mruby/issues/6650#issuecomment-3430851605 | CISA-ADP | Patch |
| https://github.com/makesoftwaresafe/mruby/commit/93619f06dd378db6766666b30c08978311c7ec94 | [email protected] | Patch |
| https://github.com/mruby/mruby/ | [email protected] | |
| https://github.com/mruby/mruby/issues/6650 | [email protected] | Issue Tracking |
| https://github.com/mruby/mruby/issues/6650#event-20443453808 | [email protected] | Issue Tracking |
| https://github.com/mruby/mruby/issues/6650#issuecomment-3430851605 | [email protected] | Patch |
| https://vuldb.com/?ctiid.331511 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.331511 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.680879 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mruby mruby | 3.4.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Nov 13, 2025 | CVE Modified | CISA-ADP |
| Nov 7, 2025 | New CVE Received | [email protected] |