mruby 3.4.0 array.c ary_fill_exec start/length out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.19 |
Summary
A vulnerability was found in mruby 3.4.0. It has been classified as critical. This issue affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. The manipulation of the argument start/length leads to out-of-bounds write.
This vulnerability is documented as CVE-2025-12875. The attack needs to be performed locally. Additionally, an exploit exists.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in mruby 3.4.0 and classified as critical. This issue affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. The manipulation of the argument start/length with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2025-12875. The exploitation is known to be easy. Attacking locally is a requirement. Technical details as well as a public exploit are known.
The exploit is available at github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 274605 (Linux Distros Unpatched Vulnerability : CVE-2025-12875), which helps to determine the existence of the flaw in a target environment.
Applying the patch 93619f06dd378db6766666b30c08978311c7ec94 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (274605). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/mruby/mruby/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 5.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 274605
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-12875
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 93619f06dd378db6766666b30c08978311c7ec94
Timeline
11/07/2025 Advisory disclosed11/07/2025 VulDB entry created
12/02/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 6650
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-12875 (🔒)
GCVE (CVE): GCVE-0-2025-12875
GCVE (VulDB): GCVE-100-331511
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/07/2025 16:14Updated: 12/02/2025 17:31
Changes: 11/07/2025 16:14 (61), 11/09/2025 01:45 (30), 11/11/2025 01:59 (2), 12/02/2025 17:31 (11)
Complete: 🔍
Submitter: tjbecker
Cache ID: 216:FB7:103
Submit
Accepted
- Submit #680879: mruby 3.4.0 Out-of-bounds Write (by tjbecker)
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.