| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.38 |
Summary
A vulnerability was found in mruby up to 3.4.0. It has been rated as critical. This issue affects the function sort_cmp of the file src/array.c. Performing a manipulation results in use after free.
This vulnerability is known as CVE-2025-13120. Attacking locally is a requirement. Furthermore, an exploit is available.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability classified as critical has been found in mruby up to 3.4.0. This affects the function sort_cmp of the file src/array.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-13120. The exploitability is told to be easy. An attack has to be approached locally. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept.
Applying the patch eb398971bfb43c38db3e04528b68ac9a7ce509bc is able to eliminate this problem. The bugfix is ready for download at github.com.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: 5.4VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 5.5
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: Use after freeCWE: CWE-416 / 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 |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: eb398971bfb43c38db3e04528b68ac9a7ce509bc
Timeline
11/13/2025 Advisory disclosed11/13/2025 VulDB entry created
12/05/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 6649
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-13120 (🔒)
GCVE (CVE): GCVE-0-2025-13120
GCVE (VulDB): GCVE-100-332325
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/13/2025 10:12Updated: 12/05/2025 15:17
Changes: 11/13/2025 10:12 (60), 11/14/2025 03:10 (30), 12/05/2025 15:17 (11)
Complete: 🔍
Submitter: tjbecker
Cache ID: 216:1E2:103
Submit
Accepted
- Submit #683435: mruby 3.4.0 Use After Free (by tjbecker)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.