mruby 3.4.0 array.c ary_fill_exec start/length out-of-bounds write

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.19

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 274605
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-12875

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 93619f06dd378db6766666b30c08978311c7ec94

Timelineinfo

11/07/2025 Advisory disclosed
11/07/2025 +0 days VulDB entry created
12/02/2025 +25 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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

Entryinfo

Created: 11/07/2025 16:14
Updated: 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

Submitinfo

Accepted

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!